module XmlHasher::Configurable

Constants

KEYS

Attributes

ignore_namespaces[W]
snakecase[W]
string_keys[W]

Public Instance Methods

configure() { |self| ... } click to toggle source
# File lib/xmlhasher/configurable.rb, line 8
def configure
  yield self
  self
end

Private Instance Methods

options() click to toggle source
# File lib/xmlhasher/configurable.rb, line 15
def options
  XmlHasher::Configurable::KEYS.inject({}) { |hash, key| hash[key] = instance_variable_get(:"@#{key}"); hash }
end