Class: Docks::OpenStruct

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

Instance Method Summary collapse

Instance Method Details

#as_json(options = nil) ⇒ Object



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

def as_json(options = nil)
  @table.as_json(options)
end

#each(&block) ⇒ Object



13
14
15
# File 'lib/docks/ostruct.rb', line 13

def each(&block)
  @table.each(&block)
end

#to_json(options = nil) ⇒ Object



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

def to_json(options = nil)
  @table.to_json(options)
end