/* Instanzmethoden definieren die nur einer Instanz gehören */

This commit is contained in:
Sven 2007-02-03 22:29:15 +00:00
parent 476b77ccdc
commit 9d1ecf186e
1 changed files with 6 additions and 0 deletions

View File

@ -12,6 +12,12 @@ a.send(:instance_eval) do
end
end
end
# oder in kurz
def a.bacon
puts "chunky"
end
</pre>