Module: Kernel
- Defined in:
- lib/lab42/data_class/kernel.rb
Instance Method Summary collapse
- #DataClass(*args, **kwds, &blk) ⇒ Object
- #Pair(first, second) ⇒ Object
- #Triple(first, second, third) ⇒ Object
Instance Method Details
#DataClass(*args, **kwds, &blk) ⇒ Object
4 5 6 7 |
# File 'lib/lab42/data_class/kernel.rb', line 4 def DataClass(*args, **kwds, &blk) proxy = Lab42::DataClass::Proxy.new(*args, **kwds, &blk) proxy.define_class! end |