Module: Ripl::Irb::MockIrb
- Defined in:
- lib/ripl/irb.rb
Instance Method Summary collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing ⇒ Object
60 61 |
# File 'lib/ripl/irb.rb', line 60 def method_missing(*) end |
Instance Method Details
#const_missing(*args) ⇒ Object
56 57 58 |
# File 'lib/ripl/irb.rb', line 56 def const_missing(*args) self.const_set(args[0], Module.new.extend(MockIrb)) end |