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