Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Gist #7 For "Functional Programming Techniques With Ruby: Part I"
class CssBlock
attr_reader :selector, :properties
def initialize(selector, properties = {})
@selector = selector.dup.freeze
@properties = properties.dup.freeze
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment