Module: Schema::Controls::Schema::TransientAttributes

Defined in:
lib/schema/controls/schema.rb

Defined Under Namespace

Classes: Example

Class Method Summary collapse

Class Method Details

.exampleObject



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

def self.example
  example = Example.new
  example.some_attribute = 'some value'
  example.some_other_attribute = 'some other value'
  example.yet_another_attribute = 'yet another value'
  example
end