Skip to content

Commit

Permalink
Update.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Fortuna committed Mar 9, 2012
1 parent 251a2ec commit 7337f0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/generators/hack_tree/templates/hello.rb
Expand Up @@ -10,7 +10,7 @@
>> c.hello "Ruby"
Hello, Ruby!
EOT
hack :hello do |who = "world"|
puts "Hello, #{who}!"
hack :hello do |*args|
puts "Hello, %s!" % (args[0] || "world")
end
end

0 comments on commit 7337f0d

Please sign in to comment.