Class: Purview::Parsers::Base
- Includes:
- Mixins::Logger
- Defined in:
- lib/purview/parsers/base.rb
Instance Method Summary collapse
-
#initialize(opts = {}) ⇒ Base
constructor
A new instance of Base.
- #parse(data) ⇒ Object
- #validate(data) ⇒ Object
Methods included from Mixins::Logger
#logger, #logger_opts, #logger_type, #with_context_logging
Constructor Details
#initialize(opts = {}) ⇒ Base
Returns a new instance of Base.
4 5 6 7 |
# File 'lib/purview/parsers/base.rb', line 4 def initialize(opts={}) @opts = opts @table = table_opt end |