class Gamefic::Syntax

def initialize(template, command)

Parameters:
  • command (String) --
  • template (String) --
def initialize(template, command)
  @template = template.normalize
  @params = @template.keywords.select { |word| word.start_with?(':') }
  @command = command.normalize
  @verb = Syntax.literal_or_nil(@command.keywords[0])
  @replace = parse_replace
end