I
Iñaki Baz Castillo
Hi, I can redefine =3D=3D method by doing:
def =3D=3D(string)
but it gives me an error if I try:
def !=3D(string)
=2D----------
SyntaxError: compile error
(irb):2: syntax error, unexpected tNEQ
def !=3D(string); "hello" ; end
^
(irb):2: syntax error, unexpected kEND, expecting $end
from (irb):2
=2D---------
How could I solve it?
Thanks a lot.
=2D-=20
I=C3=B1aki Baz Castillo
def =3D=3D(string)
but it gives me an error if I try:
def !=3D(string)
=2D----------
SyntaxError: compile error
(irb):2: syntax error, unexpected tNEQ
def !=3D(string); "hello" ; end
^
(irb):2: syntax error, unexpected kEND, expecting $end
from (irb):2
=2D---------
How could I solve it?
Thanks a lot.
=2D-=20
I=C3=B1aki Baz Castillo