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



143
144
145
# File 'lib/rjb.rb', line 143

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

Instance Attribute Details

#wrappedObject (readonly)

Returns the value of attribute wrapped.



149
150
151
# File 'lib/rjb.rb', line 149

def wrapped
  @wrapped
end

Instance Method Details

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

Returns:

  • (Boolean)


146
147
148
# File 'lib/rjb.rb', line 146

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