Class: Vexile::VexileProxy

Inherits:
Proxy
  • Object
show all
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 = @options[:owner_class].vexile_const_lookup(@options[:class_name])
  raise "#{@options[:class_name]} is not a vexile class" unless klass
  @target = klass.new
  load_params value
end