Class: DummyClass
- Inherits:
-
Object
- Object
- DummyClass
- Includes:
- Forge::Reorderable
- Defined in:
- lib/forge/spec/models/reorderable_spec.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#list_order ⇒ Object
Returns the value of attribute list_order.
Instance Method Summary collapse
-
#initialize(id) ⇒ DummyClass
constructor
A new instance of DummyClass.
- #save ⇒ Object
Methods included from Forge::Reorderable
Constructor Details
#initialize(id) ⇒ DummyClass
Returns a new instance of DummyClass.
7 8 9 |
# File 'lib/forge/spec/models/reorderable_spec.rb', line 7 def initialize(id) @id = id end |
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
5 6 7 |
# File 'lib/forge/spec/models/reorderable_spec.rb', line 5 def id @id end |
#list_order ⇒ Object
Returns the value of attribute list_order.
5 6 7 |
# File 'lib/forge/spec/models/reorderable_spec.rb', line 5 def list_order @list_order end |
Instance Method Details
#save ⇒ Object
11 12 13 |
# File 'lib/forge/spec/models/reorderable_spec.rb', line 11 def save true end |