Use this as a template from your favorite editer/IDE. Simple replace the comment in the #execute method with your experiment.
class DirtyHarry
def execute
# Feeling lucky, punk?
end
end
dh = DirtyHarry.new
puts dh.execute.inspectUse this as a template from your favorite editer/IDE. Simple replace the comment in the #execute method with your experiment.
class DirtyHarry
def execute
# Feeling lucky, punk?
end
end
dh = DirtyHarry.new
puts dh.execute.inspect