Module: Johnson::RubyLandProxy::ProxyHelper

Defined in:
lib/johnson/ruby_land_proxy.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#javascript_proxyObject

Returns the value of attribute javascript_proxy.



66
67
68
# File 'lib/johnson/ruby_land_proxy.rb', line 66

def javascript_proxy
  @javascript_proxy
end

Class Method Details

.wrap(proxy, result) ⇒ Object



60
61
62
63
64
# File 'lib/johnson/ruby_land_proxy.rb', line 60

def self.wrap(proxy, result)
  result.extend self
  result.javascript_proxy = proxy
  result
end