Closed pirj closed 13 years ago
Why does this Color instance have no num
method? Is it clashing names with another library?
Reset.new.to_s ?
Reset isn't even a subclass of Color.
Cannot reproduce anymore. No idea what was that. Sorry for bothering.
Looks like it's a good idea to define a default '' num in Color class
'''ruby-1.9.2-p180/gems/socksify-1.4.1/lib/socksify/debug.rb:23:in'
'''
to_s': undefined local variable or method
num' for #Color:0x995456c (NameError) from /home/pirj/.rvm/gems/ruby-1.9.2-p180/gems/socksify-1.4.1/lib/socksify/debug.rb:19:into_s' from /home/pirj/.rvm/gems/ruby-1.9.2-p180/gems/padrino-core-0.10.0/lib/padrino-core/reloader.rb:101:in
block in lock!' from /home/pirj/.rvm/gems/ruby-1.9.2-p180/gems/padrino-core-0.10.0/lib/padrino-core/reloader.rb:101:inmap' from /home/pirj/.rvm/gems/ruby-1.9.2-p180/gems/padrino-core-0.10.0/lib/padrino-core/reloader.rb:101:in
lock!' from /home/pirj/.rvm/gems/ruby-1.9.2-p180/gems/padrino-core-0.10.0/lib/padrino-core/loader.rb:54:inload!' from /home/pirj/source/reestr/portal/config/boot.rb:29:in
<top (required)>' from /home/pirj/.rvm/gems/ruby-1.9.2-p180/gems/padrino-core-0.10.0/lib/padrino-core/cli/base.rb:68:inrequire' from /home/pirj/.rvm/gems/ruby-1.9.2-p180/gems/padrino-core-0.10.0/lib/padrino-core/cli/base.rb:68:in
console' from /home/pirj/.rvm/gems/ruby-1.9.2-p180/gems/thor-0.14.6/lib/thor/task.rb:22:inrun' from /home/pirj/.rvm/gems/ruby-1.9.2-p180/gems/thor-0.14.6/lib/thor/invocation.rb:118:in
invoke_task' from /home/pirj/.rvm/gems/ruby-1.9.2-p180/gems/thor-0.14.6/lib/thor.rb:263:indispatch' from /home/pirj/.rvm/gems/ruby-1.9.2-p180/gems/thor-0.14.6/lib/thor/base.rb:389:in
start' from /home/pirj/.rvm/gems/ruby-1.9.2-p180/gems/padrino-core-0.10.0/bin/padrino:9:in<top (required)>' from /home/pirj/.rvm/gems/ruby-1.9.2-p180/bin/padrino:19:in
load' from /home/pirj/.rvm/gems/ruby-1.9.2-p180/bin/padrino:19:in `