Class: ASpaceImport::XML::DOM::Config
- Inherits:
 - 
      Object
      
        
- Object
 - ASpaceImport::XML::DOM::Config
 
 - Defined in:
 - backend/app/converters/lib/xml_dom.rb
 
Instance Attribute Summary (collapse)
- 
  
    
      - (Object) doc_frag_nodes 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute doc_frag_nodes.
 - 
  
    
      - (Object) mappings 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute mappings.
 
Instance Method Summary (collapse)
- 
  
    
      - (Object) [](arg) 
    
    
  
  
  
  
  
  
  
  
  
    
 - 
  
    
      - (Object) []=(arg, val) 
    
    
  
  
  
  
  
  
  
  
  
    
 - 
  
    
      - (Object) init_map(hash) 
    
    
  
  
  
  
  
  
  
  
  
    
 - 
  
    
      - (Config) initialize 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of Config.
 
Constructor Details
- (Config) initialize
Returns a new instance of Config
      160 161 162  | 
    
      # File 'backend/app/converters/lib/xml_dom.rb', line 160 def initialize @doc_frag_nodes = [] end  | 
  
Instance Attribute Details
- (Object) doc_frag_nodes
Returns the value of attribute doc_frag_nodes
      158 159 160  | 
    
      # File 'backend/app/converters/lib/xml_dom.rb', line 158 def doc_frag_nodes @doc_frag_nodes end  | 
  
- (Object) mappings (readonly)
Returns the value of attribute mappings
      157 158 159  | 
    
      # File 'backend/app/converters/lib/xml_dom.rb', line 157 def mappings @mappings end  | 
  
Instance Method Details
- (Object) [](arg)
      168 169 170  | 
    
      # File 'backend/app/converters/lib/xml_dom.rb', line 168 def [](arg) @mappings[arg] end  | 
  
- (Object) []=(arg, val)
      172 173 174 175  | 
    
      # File 'backend/app/converters/lib/xml_dom.rb', line 172 def []=(arg, val) @mappings ||= {} @mappings[arg] = val end  | 
  
- (Object) init_map(hash)
      164 165 166  | 
    
      # File 'backend/app/converters/lib/xml_dom.rb', line 164 def init_map(hash) @mappings = hash end  |