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



165
166
167
# File 'lib/rjb.rb', line 165

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

Instance Attribute Details

#wrappedObject (readonly)

Returns the value of attribute wrapped.



171
172
173
# File 'lib/rjb.rb', line 171

def wrapped
  @wrapped
end

Instance Method Details

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

Returns:

  • (Boolean)


168
169
170
# File 'lib/rjb.rb', line 168

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