Module: XmlHasher::Configurable
- Included in:
- XmlHasher
- Defined in:
- lib/xmlhasher/configurable.rb
Constant Summary collapse
- KEYS =
- [:snakecase, :ignore_namespaces, :string_keys] 
Instance Attribute Summary collapse
- 
  
    
      #ignore_namespaces  ⇒ Object 
    
    
  
  
  
  
    
    
      writeonly
    
  
  
  
  
  
  
    Sets the attribute ignore_namespaces. 
- 
  
    
      #snakecase  ⇒ Object 
    
    
  
  
  
  
    
    
      writeonly
    
  
  
  
  
  
  
    Sets the attribute snakecase. 
- 
  
    
      #string_keys  ⇒ Object 
    
    
  
  
  
  
    
    
      writeonly
    
  
  
  
  
  
  
    Sets the attribute string_keys. 
Instance Method Summary collapse
Instance Attribute Details
#ignore_namespaces=(value) ⇒ Object (writeonly)
Sets the attribute ignore_namespaces
| 4 5 6 | # File 'lib/xmlhasher/configurable.rb', line 4 def ignore_namespaces=(value) @ignore_namespaces = value end | 
#snakecase=(value) ⇒ Object (writeonly)
Sets the attribute snakecase
| 4 5 6 | # File 'lib/xmlhasher/configurable.rb', line 4 def snakecase=(value) @snakecase = value end | 
#string_keys=(value) ⇒ Object (writeonly)
Sets the attribute string_keys
| 4 5 6 | # File 'lib/xmlhasher/configurable.rb', line 4 def string_keys=(value) @string_keys = value end | 
Instance Method Details
#configure {|_self| ... } ⇒ Object
| 8 9 10 11 | # File 'lib/xmlhasher/configurable.rb', line 8 def configure yield self self end |