Change documentation and examples to reflect filename change
This commit is contained in:
parent
7b4d208bf3
commit
971e4e4f70
2 changed files with 1 additions and 6 deletions
|
|
@ -50,7 +50,7 @@ Add hammer to your Gemfile.
|
||||||
|
|
||||||
Use hammer in your project.
|
Use hammer in your project.
|
||||||
|
|
||||||
`require 'hammer'`
|
`require 'hammer-parser'`
|
||||||
|
|
||||||
### Building a parser
|
### Building a parser
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,11 +2,6 @@ require 'hammer/internal'
|
||||||
require 'hammer/parser'
|
require 'hammer/parser'
|
||||||
require 'hammer/parser_builder'
|
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.
|
# Leave this in for now to be able to play around with HParseResult in irb.
|
||||||
x = nil
|
x = nil
|
||||||
parser = Hammer::Parser.build {
|
parser = Hammer::Parser.build {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue