Class: XMLResume2x::ElementWrapperList

Inherits:
Array
  • Object
show all
Defined in:
lib/xmlresume2x/wrapper.rb

Instance Method Summary collapse

Methods inherited from Array

#join, #old_join, #separate_by

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(name, *args) ⇒ Object



56
57
58
59
# File 'lib/xmlresume2x/wrapper.rb', line 56

def method_missing( name, *args )
  return nil if self.length == 0
  self[0].send( name.to_s, *args )
end

Instance Method Details

#process_all!(options = {}) ⇒ Object



61
62
63
# File 'lib/xmlresume2x/wrapper.rb', line 61

def process_all!( options = {} )
  self.collect {|e| e.process!( options ) }
end