Method: FormatEngine::FormatLiteral#do_parse

Defined in:
lib/format_engine/format_spec/literal.rb

#do_parse(spec_info) ⇒ Object

Parse from the input string



32
33
34
35
# File 'lib/format_engine/format_spec/literal.rb', line 32

def do_parse(spec_info)
  spec_info.parse!(@head) unless @head.empty?
  spec_info.parse(/\s*/)  if     @has_tail
end