Module: Schema::Controls::Schema::Equivalent

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

Defined Under Namespace

Classes: Example

Class Method Summary collapse

Class Method Details

.exampleObject



98
99
100
101
102
103
# File 'lib/schema/controls/schema.rb', line 98

def self.example
  example = Example.new
  example.some_attribute = Attribute::Value.some_attribute
  example.yet_another_attribute = yet_another_attribute
  example
end

.yet_another_attributeObject



105
106
107
# File 'lib/schema/controls/schema.rb', line 105

def self.yet_another_attribute
  Attribute::Value.some_other_attribute
end