Module: Schema::Controls::DataStructure
- Defined in:
- lib/schema/controls/data_structure.rb
Defined Under Namespace
Modules: ConfigureDependencies, ExtraAttributes, ReadAndWrite, TransformReadFail
Classes: Example
Class Method Summary
collapse
Class Method Details
.ancestors ⇒ Object
14
15
16
|
# File 'lib/schema/controls/data_structure.rb', line 14
def self.ancestors
example.class.ancestors
end
|
.attributes ⇒ Object
18
19
20
|
# File 'lib/schema/controls/data_structure.rb', line 18
def self.attributes
example.attributes
end
|
.example ⇒ Object
4
5
6
7
8
|
# File 'lib/schema/controls/data_structure.rb', line 4
def self.example
example = Example.new
example.some_attribute = some_attribute
example
end
|
.hash ⇒ Object
22
23
24
25
26
|
# File 'lib/schema/controls/data_structure.rb', line 22
def self.hash
{
some_attribute: some_attribute
}
end
|