Class: Proscenium::UI::Breadcrumbs::Element
- Defined in:
- lib/proscenium/ui/breadcrumbs.rb
Overview
Represents a navigation element in the breadcrumb collection.
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#options ⇒ Object
Returns the value of attribute options.
-
#path ⇒ Object
Returns the value of attribute path.
Instance Method Summary collapse
Constructor Details
#initialize(name, path = nil, options = {}) ⇒ Element
65 66 67 68 69 |
# File 'lib/proscenium/ui/breadcrumbs.rb', line 65 def initialize(name, path = nil, = {}) self.name = name self.path = path self. = end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
59 60 61 |
# File 'lib/proscenium/ui/breadcrumbs.rb', line 59 def name @name end |
#options ⇒ Object
Returns the value of attribute options.
59 60 61 |
# File 'lib/proscenium/ui/breadcrumbs.rb', line 59 def @options end |
#path ⇒ Object
Returns the value of attribute path.
59 60 61 |
# File 'lib/proscenium/ui/breadcrumbs.rb', line 59 def path @path end |