Class: Informatics::View::Tabs::Item

Inherits:
Object
  • Object
show all
Defined in:
lib/informatics/lib/informatics/view/tabs/item.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Item

Returns a new instance of Item


7
8
9
10
# File 'lib/informatics/lib/informatics/view/tabs/item.rb', line 7

def initialize(options = {})
  @text = options[:text]
  @link = options[:link]
end

Instance Attribute Details

Returns the value of attribute link


5
6
7
# File 'lib/informatics/lib/informatics/view/tabs/item.rb', line 5

def link
  @link
end

#textObject

Returns the value of attribute text


5
6
7
# File 'lib/informatics/lib/informatics/view/tabs/item.rb', line 5

def text
  @text
end