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