I am new to ruby and rubmine. I am trying to use ruby mine.
I have class as follows
module Xyz;
class A
def doA()
end
end
end
module Xyz
class B
def doB()
end
end
end
module Xyz
class C
define initialize(b)
#injecting instance of Xyz::B into C
@b = b
end
def doC()
a = Xyz::A.new
a.doA() #Autocompletes workshere
b.doB() #Doesnot autocomplete, so suggestions shown
end
end
end
Why is my autocomplete not working for doB() ? Am i doing something wrong?or is it expected?