class Trumail::Parser::Base

Attributes

hash[R]

Public Class Methods

new(data) click to toggle source
# File lib/trumail/parser/base.rb, line 9
def initialize(data)
  @data = data
  @hash = {}
end
parse(data) click to toggle source
# File lib/trumail/parser/base.rb, line 14
def self.parse(data)
  klass = new(data)
  klass.parse
  klass.hash
end