Class: Doterd::DSL::Table
- Inherits:
- BasicObject
- Defined in:
- lib/doterd.rb
Instance Method Summary collapse
-
#initialize(name, &block) ⇒ Table
constructor
A new instance of Table.
- #method_missing(col, *options) ⇒ Object
Constructor Details
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(col, *options) ⇒ Object
208 209 210 |
# File 'lib/doterd.rb', line 208 def method_missing(col, *) @columns[col] = end |