Class: Superscript::Ctx

Inherits:
Object
  • Object
show all
Defined in:
lib/superscript/ctx.rb

Direct Known Subclasses

Dsl

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(*args) ⇒ Object



3
4
5
# File 'lib/superscript/ctx.rb', line 3

def method_missing(*args)
  ::Superscript.error :ctx_method_missing, "No such command or variable '#{args.first}'"
end