search for: cutelucks

Displaying 2 results from an estimated 2 matches for "cutelucks".

2009 Apr 22
4
help with exceptions
Hello, I was trying to to write a simple ruby program for exceptions. My code is: class ABC begin alpha = ABC.new alpha.foo= [1,2,3] puts foo.inspect.to_s NonExisting raise "all other exceptions" rescue Exception => NoMethodError puts ''Hello'' puts $ERROR_INFO.inspect rescue Exception => NameError puts ''goodbye'' puts $ERROR_INFO.inspect else
2009 Apr 21
2
validates_uniqueness_of
...rt-2.2.2/lib/active_support/testing/setup_and_teardown.rb:60:in `__send__'' c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/testing/setup_and_teardown.rb:60:in `run'' 14 tests, 28 assertions, 0 failures, 1 errors >Exit code: 1 Thanx a lot. Regards, cutelucks -- Posted via http://www.ruby-forum.com/.