search for: xchg_sourc

Displaying 1 result from an estimated 1 matches for "xchg_sourc".

Did you mean: xchg_source
2009 Apr 17
5
When is nil not false?
Can someone see what I cannot given this code? class ForexCASource def initialize(source=nil) xchg_source unless source puts "this is source = #{source} #{source.class}" puts "do we get here? why?" xchg_source(source) end >> fx = ForexCASource.new this is source = NilClass do we get here? why? TypeError: can''t convert nil into String from /us...