I
Iñaki Baz Castillo
Hi, first of all I'm sorry since I already did this question some time ago=
=20
(but I ca't find it now).
Basically I want the following:
=2D--------------
module MyModule
class MyClass
def show_log
puts "I'm here: ###### FIXME ######"
end
end
end
my_class =3D MyModule::MyClass.new
my_class.show_log
=3D> I'm here: MyModule::MyClass#show_log
=2D--------------
When I did this question I remember that it was not possible with Ruby 1.8 =
but=20
it was feasible in Ruby 1.9.
Could you please show me how to get it?
Thanks a lot.
=2D-=20
I=C3=B1aki Baz Castillo <[email protected]>
=20
(but I ca't find it now).
Basically I want the following:
=2D--------------
module MyModule
class MyClass
def show_log
puts "I'm here: ###### FIXME ######"
end
end
end
my_class =3D MyModule::MyClass.new
my_class.show_log
=3D> I'm here: MyModule::MyClass#show_log
=2D--------------
When I did this question I remember that it was not possible with Ruby 1.8 =
but=20
it was feasible in Ruby 1.9.
Could you please show me how to get it?
Thanks a lot.
=2D-=20
I=C3=B1aki Baz Castillo <[email protected]>