Irb problem

Hi guys, can you spare some time?

i have this irb problem…when i try to enter this line : def show_text
text
the irb gives me this error

No command ‘def’ found, did you mean:
Command ‘df’ from package ‘coreutils’ (main)
Command ‘ref’ from package ‘elvis-tools’ (universe)
Command ‘gdef’ from package ‘firebird2.1-classic’ (universe)
Command ‘gdef’ from package ‘firebird2.0-super’ (universe)
Command ‘gdef’ from package ‘firebird2.1-super’ (universe)
Command ‘gdef’ from package ‘firebird2.0-classic’ (universe)
def: command not found

any idea what i should do??

a million thx in advance,
radu

i have this irb problem…when i try to enter this line : def show_text
text
the irb gives me this error

No command ‘def’ found, did you mean:

Are you sure you’re in irb? It looks like you’re just at the
shell prompt.

You need to type irb first to start it.