class Hash

Allow keys dot syntax

Public Instance Methods

method_missing(sym, *args) click to toggle source
Calls superclass method
# File lib/middleman-sculptor/hash_dot_syntax.rb, line 3
def method_missing(sym, *args)
  fetch(sym) { fetch(sym.to_s) { super } }
end