def node(name, type, options = {}, &block)
      attr_reader name.to_sym
      options[:local_context] = @local_context
      xpath = NodeXPath.new(name, options).xpath
      define_method("parse_#{name}".to_sym) do
        evaluate_args = [xpath, AwesomeXML::Type.for(type, self.class.name), options]
        instance_variable_set(
          "@#{name}",
          evaluate_nodes(*evaluate_args, &block)
        )
      end
      register(name, options[:private])
    end
def node(name, type, options = {}, &block)
      attr_reader name.to_sym
      options[:local_context] = @local_context
      xpath = NodeXPath.new(name, options).xpath
      define_method("parse_#{name}".to_sym) do
        evaluate_args = [xpath, AwesomeXML::Type.for(type, self.class.name), options]
        instance_variable_set(
          "@#{name}",
          evaluate_nodes(*evaluate_args, &block)
        )
      end
      register(name, options[:private])
    end
Defines a method on your class returning a parsed value