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



39
40
41
42
43
44
45
46
# File 'lib/set_attributes/controls/object.rb', line 39

def self.example
  example = Example.new

  example.some_attribute = Object.some_attribute
  example.some_other_attribute = Object.some_other_attribute

  example
end