Exception: Tcl::Ruby::TclArgumentError

Inherits:
TclError
  • Object
show all
Defined in:
lib/tcl/ruby/error.rb

Instance Method Summary collapse

Constructor Details

#initialize(msg) ⇒ TclArgumentError

Returns a new instance of TclArgumentError.



7
8
9
# File 'lib/tcl/ruby/error.rb', line 7

def initialize(msg)
  super("wrong \# args: should be\"#{msg}\"")
end