Module: SetAttributes::Controls::Object::MissingAttribute

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

Defined Under Namespace

Classes: Example

Class Method Summary collapse

Class Method Details

.exampleObject



27
28
29
30
31
32
33
34
# File 'lib/set_attributes/controls/object.rb', line 27

def self.example
  example = Example.new

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

  example
end