Class: Baml::DynamicStruct

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

Overview

Dynamically defined output classes are instantiated using this class

Instance Method Summary collapse

Instance Method Details

#to_json(*args) ⇒ Object



62
63
64
# File 'lib/struct.rb', line 62

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