public

Gist #10 For "Functional Programming Techniques With Ruby: Part I"

  • Download Gist
gist_10_functional_ruby.rb
Ruby
1
CssBlock.new("#some_id .class a").set("color", "#FFF").set({ "color" => "#000", "text-decoration" => "underline"}) # => "#some_id .class a { color: #000; text-decoration: underline }"

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.