Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

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

View gist_7_functional_ruby.rb
1 2 3 4 5 6 7 8
class CssBlock
attr_reader :selector, :properties
 
def initialize(selector, properties = {})
@selector = selector.dup.freeze
@properties = properties.dup.freeze
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.