Class: MetaField::MetaProxy
- Inherits:
-
Object
- Object
- MetaField::MetaProxy
- Defined in:
- lib/meta_field/proxy.rb
Instance Method Summary collapse
- #[](basename) ⇒ Object
-
#initialize(klass) ⇒ MetaProxy
constructor
A new instance of MetaProxy.
Constructor Details
#initialize(klass) ⇒ MetaProxy
Returns a new instance of MetaProxy.
3 4 5 6 |
# File 'lib/meta_field/proxy.rb', line 3 def initialize(klass) @klass = klass @type = klass.base_class.to_s end |