Skip to content

Instantly share code, notes, and snippets.

@sigmonsays
Created September 1, 2009 20:25
test Mash.new unless attribute? :test
test[:frontend] = {} unless test.attribute? :frontend
test[:frontend][:message] = "message from Xenu"
test[:frontend][:per_node] = "default value" unless test[:frontend].attribute? :per_node
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment