Module: SetAttributes::Controls::Object::Transform

Defined in:
lib/set_attributes/controls/object.rb

Defined Under Namespace

Classes: Example

Class Method Summary collapse

Class Method Details

.exampleObject



43
44
45
46
47
48
49
50
# File 'lib/set_attributes/controls/object.rb', line 43

def self.example
  example = Example.new

  example.an_attribute = Attribute.some_attribute
  example.some_other_attribute = Attribute.some_other_attribute

  example
end