Class: ActionLinkSeparator
- Defined in:
- lib/active_scaffold/data_structures/action_link_separator.rb
Instance Attribute Summary collapse
-
#weight ⇒ Object
readonly
Returns the value of attribute weight.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(weight) ⇒ ActionLinkSeparator
constructor
A new instance of ActionLinkSeparator.
-
#name_to_cache ⇒ Object
:nodoc:.
Constructor Details
#initialize(weight) ⇒ ActionLinkSeparator
Returns a new instance of ActionLinkSeparator.
2 3 4 |
# File 'lib/active_scaffold/data_structures/action_link_separator.rb', line 2 def initialize(weight) @weight = weight end |
Instance Attribute Details
#weight ⇒ Object (readonly)
Returns the value of attribute weight.
6 7 8 |
# File 'lib/active_scaffold/data_structures/action_link_separator.rb', line 6 def weight @weight end |
Instance Method Details
#==(other) ⇒ Object
8 9 10 |
# File 'lib/active_scaffold/data_structures/action_link_separator.rb', line 8 def ==(other) other == :separator end |
#name_to_cache ⇒ Object
:nodoc:
12 |
# File 'lib/active_scaffold/data_structures/action_link_separator.rb', line 12 def name_to_cache; end |