Class: Schema::Controls::DataStructure::ImportAndExport::Example

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

Instance Method Summary collapse

Methods included from DataStructure

included

Instance Method Details

#export(data) ⇒ Object



66
67
68
# File 'lib/schema/controls/data_structure.rb', line 66

def export(data)
  data[:some_attribute] = 'some exported value'
end

#import(data) ⇒ Object



62
63
64
# File 'lib/schema/controls/data_structure.rb', line 62

def import(data)
  data[:some_attribute] = 'some imported value'
end