lib/tcl/ruby/error.rb in tcl-ruby-0.1.0 vs lib/tcl/ruby/error.rb in tcl-ruby-0.1.1
- old
+ new
@@ -2,12 +2,12 @@
module Ruby
class TclError < StandardError; end
class ParseError < TclError; end
class CommandError < TclError; end
class TclArgumentError < TclError
- def initialize(msg)
- super("wrong \# args: should be\"#{msg}\"")
- end
+ # def initialize(msg)
+ # super("wrong \# args: should be\"#{msg}\"")
+ # end
end
class TclVariableNotFoundError < TclError
def initialize(var, type = '')
super("can't read \"#{var}\": #{type}")
end