README.md in trace_eval-0.1.3 vs README.md in trace_eval-0.1.4
- old
+ new
@@ -1,14 +1,9 @@
# TraceEval
-Welcome to your new gem! In this directory, you'll find the files you
-need to be able to package up your Ruby library into a gem. Put your
-Ruby code in the file `lib/trace_eval`. To experiment with that code,
-run `bin/console` for an interactive prompt.
+Evaluates the Ruby expression(s) in string and prints each executing line.
-TODO: Delete this and the text above, and describe your gem
-
## Installation
Add this line to your application's Gemfile:
```ruby
@@ -23,11 +18,21 @@
$ gem install trace_eval
## Usage
-TODO: Write usage instructions here
+```
+$ ./bin/console
+irb(main):001:0> extend TraceEval
+=> main
+irb(main):002:0> trace_eval "a = 2\nb = 2\nputs a+b\n"
+a = 2
+b = 2
+puts a+b
+4
+=> nil
+```
## Development
After checking out the repo, run `bin/setup` to install
dependencies. Then, run `rake test` to run the tests. You can also run
@@ -39,10 +44,11 @@
a git tag for the version, push git commits and the created tag, and
push the `.gem` file to [rubygems.org](https://rubygems.org).
## Contributing
-Bug reports and pull requests are welcome on GitHub at https://gitlab.com/fjc/trace_eval.
+Bug reports and pull requests are welcome on GitLab at
+https://gitlab.com/fjc/trace_eval.
## License
The gem is available as open source under the terms of the [MIT
License](https://opensource.org/licenses/MIT).