Class: Informatics::View::Tabs::Item
- Inherits:
-
Object
- Object
- Informatics::View::Tabs::Item
- Defined in:
- lib/informatics/lib/informatics/view/tabs/item.rb
Instance Attribute Summary collapse
-
#link ⇒ Object
Returns the value of attribute link.
-
#text ⇒ Object
Returns the value of attribute text.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Item
constructor
A new instance of Item.
Constructor Details
#initialize(options = {}) ⇒ Item
Returns a new instance of Item.
8 9 10 11 |
# File 'lib/informatics/lib/informatics/view/tabs/item.rb', line 8 def initialize( = {}) @text = [:text] @link = [:link] end |
Instance Attribute Details
#link ⇒ Object
Returns the value of attribute link.
6 7 8 |
# File 'lib/informatics/lib/informatics/view/tabs/item.rb', line 6 def link @link end |
#text ⇒ Object
Returns the value of attribute text.
6 7 8 |
# File 'lib/informatics/lib/informatics/view/tabs/item.rb', line 6 def text @text end |