Class: FSR::OpenStruct

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

Instance Method Summary collapse

Instance Method Details

#to_hashObject



9
10
11
# File 'lib/fsr/ostruct.rb', line 9

def to_hash
  @table.dup
end

#to_json(*args) ⇒ Object



5
6
7
# File 'lib/fsr/ostruct.rb', line 5

def to_json(*args)
  @table.to_json *args
end