Class: PatchedOpenStruct

Inherits:
OpenStruct
  • Object
show all
Defined in:
lib/deepopenstruct.rb

Instance Method Summary collapse

Instance Method Details

#idObject



4
5
6
# File 'lib/deepopenstruct.rb', line 4

def id
  @table[:id]
end

#typeObject



8
9
10
# File 'lib/deepopenstruct.rb', line 8

def type
  @table[:type]
end