Method: Wukong::FlatPack::Parser#initialize

Defined in:
lib/wukong/model/flatpack_parser/parser.rb

#initialize(lang) ⇒ Parser

Returns a new instance of Parser.



7
8
9
10
# File 'lib/wukong/model/flatpack_parser/parser.rb', line 7

def initialize(lang)
  @lang = lang
  @re = re_from_language @lang
end