Sha256: a6a1801a0bc777b1c34255652360de905b5b96e088dcafd0d196dc126e6685b2
Contents?: true
Size: 251 Bytes
Versions: 1
Compression:
Stored size: 251 Bytes
Contents
module CurlyMustache module Attributes class Definitions < Hash def [](key) key = key.to_sym raise AttributeNotDefinedError, "unexpected attribute: #{key}" unless has_key?(key) super(key) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cjbottaro-curly_mustache-0.0.0 | lib/attributes/definitions.rb |