def add_meta(doc, obj)
      meta = get_meta(doc)
      obj.define_singleton_method(:meta) { meta } && obj
    end
def add_meta(doc, obj)
      meta = get_meta(doc)
      obj.define_singleton_method(:meta) { meta } && obj
    end
Adds meta method to an object

 @param doc [Object] Nokogiri::XML::Document to take meta information from
 @param obj [#define_singleton_method] Object to add meta method to
 @return [#define_singleton_method] Object with meta method defined