module HashMap::ToDSL

Public Instance Methods

_set_attributes_from_inheritance(attrs) click to toggle source
# File lib/hash_map/dsl.rb, line 19
def _set_attributes_from_inheritance(attrs)
  dsl._set_attributes(attrs.deep_dup)
end
attributes() click to toggle source
# File lib/hash_map/dsl.rb, line 15
def attributes
  dsl.attributes
end
dsl() click to toggle source
# File lib/hash_map/dsl.rb, line 11
def dsl
  @dsl ||= DSL.new
end
method_missing(method, *args, &block) click to toggle source
Calls superclass method
# File lib/hash_map/dsl.rb, line 3
def method_missing(method, *args, &block)
  if dsl.respond_to?(method)
    dsl.send(method, *args, &block)
  else
    super
  end
end