Skip to content

Commit

Permalink
Moved tron.rb and troff.rb to unroller subdir. Added unroller/debug.rb.
Browse files Browse the repository at this point in the history
Removed tron/troff Kernel methods.
  • Loading branch information
TylerRick committed Sep 20, 2009
1 parent ba3a64c commit a0729bf
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Rakefile
Expand Up @@ -9,7 +9,7 @@ module Project
PrettyName = "Ruby Unroller"
Name = "unroller"
RubyForgeName = "unroller"
Version = "1.0.0"
Version = "1.0.1"
end

specification = Gem::Specification.new do |s|
Expand Down
7 changes: 5 additions & 2 deletions Readme
Expand Up @@ -42,9 +42,12 @@ You can also pass a block to <tt>Unroller::trace</tt> and it will automatically
end

If you want really quick and dirty:
require 'tron'
require 'unroller/tron'
...

Or, for the interactive debugger:
require 'unroller/debug'
...
troff

===Example

Expand Down
4 changes: 0 additions & 4 deletions lib/troff.rb

This file was deleted.

3 changes: 2 additions & 1 deletion lib/tron.rb → lib/unroller/debug.rb
@@ -1,2 +1,3 @@
require 'unroller'
tron
Unroller::debug

4 changes: 4 additions & 0 deletions lib/unroller/troff.rb
@@ -0,0 +1,4 @@
# You should probably use the trace_off method directly instead.
require 'unroller'
Unroller::trace_off

2 changes: 2 additions & 0 deletions lib/unroller/tron.rb
@@ -0,0 +1,2 @@
require 'unroller'
Unroller::trace_on

0 comments on commit a0729bf

Please sign in to comment.