Skip to content

Instantly share code, notes, and snippets.

@stevemorris
Created September 21, 2011 16:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save stevemorris/1232537 to your computer and use it in GitHub Desktop.
Save stevemorris/1232537 to your computer and use it in GitHub Desktop.
Circuitry
module Circuitry
extend self
attr_reader :circuits
@circuits = {}
def []=(name, definition)
@circuits[name] ||= definition
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment