Sha256: 108d99012571c96b7b8cdaf610c585af69a5d85ff6373b99d40ea2322ebf0c7a

Contents?: true

Size: 720 Bytes

Versions: 2

Compression:

Stored size: 720 Bytes

Contents

module Relax
  module Parsers
    
    class Base
      
      attr_reader :parent
      attr_reader :parameters
      
      def initialize(raw, parent)
        @parent     = parent
        @parameters = parent.class.instance_variable_get('@parameters')
        parse!
      end
      
      def parse!; end
      
      def root; end
      def is?(name); end
      def has?(name); end
      def element(name); end
      def elements(name); end
      
      def attribute(element, name); end
      def value(value); end
      def text_value(value); end
      def integer_value(value); end
      def float_value(value); end
      def date_value(value); end
      def time_value(value); end
      
    end
    
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
tylerhunt-relax-0.0.5 lib/relax/parsers/base.rb
relax-0.0.5 lib/relax/parsers/base.rb