Sha256: 4c2d03d071e38ca9af2d855c1442ffb545358676259d5bc2341e47341136709a
Contents?: true
Size: 343 Bytes
Versions: 12
Compression:
Stored size: 343 Bytes
Contents
module RubyApp module Mixins module HashMixin def method_missing(name, *arguments) if name.to_s.match(/(.*)=/) self[$~.captures[0].to_sym] = arguments[0] else self[name.to_s] || self[name.to_sym] end end end end end class Hash include RubyApp::Mixins::HashMixin end
Version data entries
12 entries across 12 versions & 1 rubygems