Class: Vexile::VexileProxy
- Inherits:
-
Proxy
- Object
- Proxy
- Vexile::VexileProxy
- Defined in:
- lib/vexile.rb
Instance Method Summary collapse
Instance Method Details
#__setobj__(value) ⇒ Object
16 17 18 19 20 21 |
# File 'lib/vexile.rb', line 16 def __setobj__ value klass = [:owner_class].vexile_const_lookup([:class_name]) raise "#{@options[:class_name]} is not a vexile class" unless klass @target = klass.new load_params value end |