Class: Schema::Controls::DataStructure::ReadAndWrite::InAndOutAliases::Example

Inherits:
Object
  • Object
show all
Includes:
DataStructure
Defined in:
lib/schema/controls/data_structure.rb

Instance Method Summary collapse

Methods included from DataStructure

#clone, #deep_copy, included

Instance Method Details

#transform_in(data) ⇒ Object



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

def transform_in(data)
  data[:some_attribute] = 'some read value'
end

#transform_out(data) ⇒ Object



108
109
110
# File 'lib/schema/controls/data_structure.rb', line 108

def transform_out(data)
  data[:some_attribute] = 'some written value'
end