Skip to content

Instantly share code, notes, and snippets.

@phinze
Created January 17, 2013 20:10
Show Gist options
  • Save phinze/4559271 to your computer and use it in GitHub Desktop.
Save phinze/4559271 to your computer and use it in GitHub Desktop.
example of several uses of "end" in ruby
class FooDog
def bark(loud=false)
if loud
puts "BARK"
else
puts "bark"
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment