Class: HandyToolbox::MenuBack
- Inherits:
-
Object
- Object
- HandyToolbox::MenuBack
- Defined in:
- lib/handy_toolbox/menu_back.rb
Constant Summary collapse
- TEXT =
'..'.freeze
- ICON =
'<- '.freeze
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#parent ⇒ Object
readonly
Returns the value of attribute parent.
Instance Method Summary collapse
- #icon ⇒ Object
-
#initialize(parent) ⇒ MenuBack
constructor
A new instance of MenuBack.
- #to_s ⇒ Object
Constructor Details
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
8 9 10 |
# File 'lib/handy_toolbox/menu_back.rb', line 8 def id @id end |
#parent ⇒ Object (readonly)
Returns the value of attribute parent.
8 9 10 |
# File 'lib/handy_toolbox/menu_back.rb', line 8 def parent @parent end |