On 25 April 2016 at 16:08, Naveed Alam wrote:
> Greg Navis wrote in post #1183062:
>> The simplest way to trigger this warning (it's not Rails-related BTW) is
>> this:
>>
>> $ irb
>> irb(main):001:0> class Foo
>> irb(main):002:1> end
>> => nil
>> irb(main):003:0> Foo::Array.new
>> (irb):3: warning
Greg Navis wrote in post #1183062:
> The simplest way to trigger this warning (it's not Rails-related BTW) is
> this:
>
> $ irb
> irb(main):001:0> class Foo
> irb(main):002:1> end
> => nil
> irb(main):003:0> Foo::Array.new
> (irb):3: warning: toplevel constant Array referenced by Foo::Array
> => []
2 matches
Mail list logo