Sha256: 65fdb1f5eb0334983ef68e5d11e938a18d3bbb21e7e0c98b914d6cb20a78b155

Contents?: true

Size: 302 Bytes

Versions: 6

Compression:

Stored size: 302 Bytes

Contents

# frozen_string_literal: true

module Trumail
  module Parser
    class Base

      attr_reader :hash

      def initialize(data)
        @data = data
        @hash = {}
      end

      def self.parse(data)
        klass = new(data)
        klass.parse
        klass.hash
      end

    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
trumail-2.1.0 lib/trumail/parser/base.rb
trumail-2.0.1 lib/trumail/parser/base.rb
trumail-2.0.0 lib/trumail/parser/base.rb
trumail-1.0.0 lib/trumail/parser/base.rb
trumail-0.2.0 lib/trumail/parser/base.rb
trumail-0.1.0 lib/trumail/parser/base.rb