lib/happymapper/anonymous_mapper.rb
#
# Used internally when parsing to create a class that is capable of
# parsing the content. The name of the class is of course not likely
# going to match the content it will be able to parse so the tag
# value is set to the one provided.
#
Used internally when parsing to create a class that is capable of
parsing the content. The name of the class is of course not likely
going to match the content it will be able to parse so the tag
value is set to the one provided.
Used internally when parsing to create a class that is capable of parsing the content . The name of the class is of course not likely going to match the content it will be able to parse so the tag value is set to the one provided .
def create_happymapper_class_with_tag(tag_name)
      klass = Class.new
      klass.class_eval do
        include HappyMapper
        tag tag_name
      end
      klass
    end
def create_happymapper_class_with_tag ( tag_name ) klass = Class . new klass . class_eval do include HappyMapper tag tag_name end klass end
Used internally when parsing to create a class that is capable of
parsing the content.
Used internally when parsing to create a class that is capable of parsing the content .
tag_name
<not_specific>