Class: DummyClass

Inherits:
Object
  • Object
show all
Includes:
Forge::Reorderable
Defined in:
lib/forge/spec/models/reorderable_spec.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Forge::Reorderable

included

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

#idObject

Returns the value of attribute id.



5
6
7
# File 'lib/forge/spec/models/reorderable_spec.rb', line 5

def id
  @id
end

#list_orderObject

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

#saveObject



11
12
13
# File 'lib/forge/spec/models/reorderable_spec.rb', line 11

def save
  true
end