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



114
115
116
# File 'lib/rjb.rb', line 114

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

Instance Attribute Details

#wrappedObject (readonly)

Returns the value of attribute wrapped.



120
121
122
# File 'lib/rjb.rb', line 120

def wrapped
  @wrapped
end

Instance Method Details

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

Returns:

  • (Boolean)


117
118
119
# File 'lib/rjb.rb', line 117

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