Skip to content

Commit

Permalink
Added just one line. Then my little turtle understood both formats of…
Browse files Browse the repository at this point in the history
… this DSL: `pen_style :stroke => 'red'` and `pen_style :stroke => red`. Cool!
  • Loading branch information
ashbb committed Apr 28, 2009
1 parent b7a207d commit 22e1303
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
@@ -1,7 +1,7 @@
Ruby Metaprogramming Study Note
===============================
I'm now taking a sniff of Ruby Metaprogramming. This is my tiny Study Note. :)
Apr. 27th, 2009 by ashbb (Satoshi Asakawa)
Apr. 28th, 2009 by ashbb (Satoshi Asakawa)


Videos
Expand Down
1 change: 1 addition & 0 deletions src/turtle_graphics_with_shoes/turtle.rb
Expand Up @@ -47,5 +47,6 @@ def pen_down

def method_missing m, *args
@track << [m, args, nil, :others]
m.to_s
end
end

0 comments on commit 22e1303

Please sign in to comment.