Skip to content

Commit

Permalink
Adds in-place example command
Browse files Browse the repository at this point in the history
  • Loading branch information
bougyman committed Apr 11, 2024
1 parent aaa7e30 commit cbe3ad9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Readme.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ gem install namespacer-rb
### Namespacing a file

`namespacer MyNamespace my_file.rb` will create a new file `my_file.namespaced.rb` with all top-level classes and modules namespaced under `MyNamespace`.
`namespacer -i MyNamespace my_file.rb` will overwrite the original file with the namespaced version.

## Development

Expand Down

0 comments on commit cbe3ad9

Please sign in to comment.