Class: Rjb::Rjb_JavaBridge

Inherits:
Object
  • Object
show all
Defined in:
lib/rjb.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(name, *args) ⇒ Object



179
180
181
# File 'lib/rjb.rb', line 179

def method_missing(name, *args)
  @wrapped.__send__(name, *args)
end

Instance Attribute Details

#wrappedObject (readonly)

Returns the value of attribute wrapped.



185
186
187
# File 'lib/rjb.rb', line 185

def wrapped
  @wrapped
end

Instance Method Details

#respond_to?(name, inc_private = false) ⇒ Boolean

Returns:

  • (Boolean)


182
183
184
# File 'lib/rjb.rb', line 182

def respond_to?(name, inc_private = false)
  @wrapped.respond_to?(name, inc_private)
end