Class: Superscript::Ctx
- Inherits:
-
Object
- Object
- Superscript::Ctx
- Defined in:
- lib/superscript/ctx.rb
Direct Known Subclasses
Instance Method Summary collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(*args) ⇒ Object
3 4 5 6 |
# File 'lib/superscript/ctx.rb', line 3 def method_missing(*args) puts "Error: No such command or variable '#{args.first}'" exit 1 end |