class HTOTConv::Parser::Base

Attributes

option[RW]

Public Class Methods

new(option={}) click to toggle source
# File lib/htot_conv/parser/base.rb, line 5
def initialize(option={})
  @option = self.class.option_help.inject({}) { |h, pair| h[pair[0]] = pair[1][:default]; h}.merge(option)
end
option_help() click to toggle source
# File lib/htot_conv/parser/base.rb, line 10
def self.option_help
  {}
end