Class: ActiveScaffold::DataStructures::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.
5 6 7 |
# File 'lib/active_scaffold/data_structures/action_link_separator.rb', line 5 def initialize(weight) @weight = weight end |
Instance Attribute Details
#weight ⇒ Object (readonly)
Returns the value of attribute weight.
9 10 11 |
# File 'lib/active_scaffold/data_structures/action_link_separator.rb', line 9 def weight @weight end |
Instance Method Details
#==(other) ⇒ Object
11 12 13 |
# File 'lib/active_scaffold/data_structures/action_link_separator.rb', line 11 def ==(other) other == :separator end |
#name_to_cache ⇒ Object
:nodoc:
15 |
# File 'lib/active_scaffold/data_structures/action_link_separator.rb', line 15 def name_to_cache; end |