lib/seek/parser_mapper.rb
def mapping mapping_name
      mapping = self.send(mapping_name+"_mapping")
      if mapping
        if check_mapping mapping
          return mapping
        end

        nil

      else
        nil

      end

    end
# returns a mapping given a mapping name (convention: name of method without "_mapping")
returns a mapping given a mapping name (convention: name of method without "_mapping")
returns a mapping given a mapping name ( convention : name of method without " _mapping " )
def mapping mapping_name
      mapping = self.send(mapping_name+"_mapping")
      if mapping
        if check_mapping mapping
          return mapping
        end
        nil
      else
        nil
      end
    end
def mapping mapping_name mapping = self . send ( mapping_name + "_mapping" ) if mapping if check_mapping mapping return mapping end nil else nil end end
returns a mapping given a mapping name (convention: name of method without "_mapping")
returns a mapping given a mapping name ( convention : name of method without " _mapping " )
mapping_name