Sha256: c0e81509f0251b8a7851400f7d96cb95e81900a56bf28be8296a577b37ad25c8
Contents?: true
Size: 335 Bytes
Versions: 5
Compression:
Stored size: 335 Bytes
Contents
module NsOptions class Namespaces < Hash def [](name) super(name.to_sym) end def []=(name, value) super(name.to_sym, value) end def add(name, key, parent = nil, &block) self[name] = NsOptions::Namespace.new(key, parent, &block) end def get(name) self[name] end end end
Version data entries
5 entries across 5 versions & 1 rubygems