Class: Broadway::Link
- Inherits:
-
Object
- Object
- Broadway::Link
- Includes:
- Configurable, Convertible, Hierarchical, Processable, Resourceful, Sortable, Taggable, Comparable
- Defined in:
- lib/broadway/resources/link.rb
Instance Attribute Summary collapse
-
#href ⇒ Object
link category is the menu it’s in, or null.
-
#rel ⇒ Object
link category is the menu it’s in, or null.
-
#resource ⇒ Object
link category is the menu it’s in, or null.
-
#target ⇒ Object
link category is the menu it’s in, or null.
Instance Method Summary collapse
Methods included from Resourceful
Methods included from Taggable
Methods included from Sortable
Methods included from Hierarchical
Methods included from Configurable
Methods included from Convertible
Methods included from Processable
Instance Attribute Details
#href ⇒ Object
link category is the menu it’s in, or null
13 14 15 |
# File 'lib/broadway/resources/link.rb', line 13 def href @href end |
#rel ⇒ Object
link category is the menu it’s in, or null
13 14 15 |
# File 'lib/broadway/resources/link.rb', line 13 def rel @rel end |
#resource ⇒ Object
link category is the menu it’s in, or null
13 14 15 |
# File 'lib/broadway/resources/link.rb', line 13 def resource @resource end |
#target ⇒ Object
link category is the menu it’s in, or null
13 14 15 |
# File 'lib/broadway/resources/link.rb', line 13 def target @target end |
Instance Method Details
#inspect ⇒ Object
25 26 27 |
# File 'lib/broadway/resources/link.rb', line 25 def inspect "#<#{self.class.name.to_s} @href='#{self.href.to_s}' @rel='#{self.rel.to_s}' @target='#{self.target.to_s}'/>" end |