Displaying 1 result from an estimated 1 matches for "forexcasource".
Did you mean:
forex_ca_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'...