Class: Ez::Items::Link
- Inherits:
-
Object
- Object
- Ez::Items::Link
- Defined in:
- lib/ez/items/link.rb
Instance Attribute Summary collapse
-
#label ⇒ Object
readonly
Returns the value of attribute label.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(label, path, options = {}) ⇒ Link
constructor
A new instance of Link.
Constructor Details
#initialize(label, path, options = {}) ⇒ Link
Returns a new instance of Link.
8 9 10 11 12 |
# File 'lib/ez/items/link.rb', line 8 def initialize(label, path, = {}) @label = label @path = path @options = end |
Instance Attribute Details
#label ⇒ Object (readonly)
Returns the value of attribute label.
6 7 8 |
# File 'lib/ez/items/link.rb', line 6 def label @label end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
6 7 8 |
# File 'lib/ez/items/link.rb', line 6 def @options end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
6 7 8 |
# File 'lib/ez/items/link.rb', line 6 def path @path end |