Skip to content

Commit a0a93eb

Browse files
committed
Fix README
1 parent 31ec6e0 commit a0a93eb

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ python setup.py install
1212

1313
### Usage
1414
```
15-
from gemfileparser import gemfileparser
16-
parser = gemfileparser.GemfileParser(<path to Gemfile>, <name of the application (optional)>)
15+
from gemfileparser import GemfileParser
16+
parser = GemfileParser(<path to Gemfile>, <name of the application (optional)>)
1717
dependency_dictionary = parser.parse()
1818
```
1919
The parse() method returns a dict object of the following format
@@ -37,8 +37,8 @@ group - Group in which gem is a member of (default : runtime)
3737

3838
#### Example
3939
```
40-
from gemfileparser import gemfileparser
41-
n = gemfileparser.GemfileParser('Gemfile', 'diaspora')
40+
from gemfileparser import GemfileParser
41+
n = GemfileParser('Gemfile', 'diaspora')
4242
deps = n.parse()
4343
for key in deps:
4444
if deps[key]:

setup.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
3131
::
3232
33-
from gemfileparser import gemfileparser
34-
parser = gemfileparser.GemfileParser(<path to Gemfile>, <name of the application (optional)>)
33+
from gemfileparser import GemfileParser
34+
parser = GemfileParser(<path to Gemfile>, <name of the application (optional)>)
3535
dependency_dictionary = parser.parse()
3636
3737
The parse() method returns a dict object of the following format
@@ -61,8 +61,8 @@
6161
6262
::
6363
64-
from gemfileparser import gemfileparser
65-
n = gemfileparser.GemfileParser('Gemfile', 'diaspora')
64+
from gemfileparser import GemfileParser
65+
n = GemfileParser('Gemfile', 'diaspora')
6666
deps = n.parse()
6767
for key in deps:
6868
if deps[key]:

0 commit comments

Comments
 (0)