Class: Docks::OpenStruct
- Inherits:
-
OpenStruct
- Object
- OpenStruct
- Docks::OpenStruct
- 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( = nil) @table.as_json() 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( = nil) @table.to_json() end |