Class: Schema::Controls::DataStructure::ReadAndWrite::Example
- Inherits:
-
Object
- Object
- Schema::Controls::DataStructure::ReadAndWrite::Example
show all
- Includes:
- DataStructure
- Defined in:
- lib/schema/controls/data_structure.rb
Instance Method Summary
collapse
#clone, #deep_copy, included
Instance Method Details
75
76
77
|
# File 'lib/schema/controls/data_structure.rb', line 75
def transform_read(data)
data[:some_attribute] = 'some read value'
end
|
79
80
81
|
# File 'lib/schema/controls/data_structure.rb', line 79
def transform_write(data)
data[:some_attribute] = 'some written value'
end
|