Class: HappyMapper::AnonymousWrapperClassFactory
- Inherits:
-
Object
- Object
- HappyMapper::AnonymousWrapperClassFactory
- Defined in:
- lib/happymapper.rb
Overview
Factory for creating anonmyous HappyMappers
Class Method Summary collapse
Class Method Details
.get(name, &blk) ⇒ Object
736 737 738 739 740 741 742 |
# File 'lib/happymapper.rb', line 736 def self.get(name, &blk) Class.new do include HappyMapper tag name instance_eval &blk end end |