Change documentation and examples to reflect filename change

This commit is contained in:
Prashant Anantharaman 2016-09-11 10:05:18 -07:00
parent 7b4d208bf3
commit 971e4e4f70
2 changed files with 1 additions and 6 deletions

View file

@ -50,7 +50,7 @@ Add hammer to your Gemfile.
Use hammer in your project.
`require 'hammer'`
`require 'hammer-parser'`
### Building a parser

View file

@ -2,11 +2,6 @@ require 'hammer/internal'
require 'hammer/parser'
require 'hammer/parser_builder'
# TODO:
# Probably need to rename this file to 'hammer-parser.rb', so
# people can use "require 'hammer-parser'" in their code.
# Leave this in for now to be able to play around with HParseResult in irb.
x = nil
parser = Hammer::Parser.build {