Module: Schema::Controls::Schema::Different

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

Class Method Summary collapse

Class Method Details

.attribute_valuesObject



5
6
7
8
9
10
# File 'lib/schema/controls/schema/different.rb', line 5

def self.attribute_values
  example = Example.new
  example.some_attribute = Controls::Schema.some_attribute
  example.some_other_attribute = some_other_attribute
  example
end

.some_other_attributeObject



12
13
14
# File 'lib/schema/controls/schema/different.rb', line 12

def self.some_other_attribute
  'some different value'
end