Permalink
Browse files

Moved tron.rb and troff.rb to unroller subdir. Added unroller/debug.rb.

Removed tron/troff Kernel methods.
  • Loading branch information...
1 parent ba3a64c commit a0729bff4eff78dc339eb09a9707d68119338119 @TylerRick committed Sep 20, 2009
Showing with 14 additions and 8 deletions.
  1. +1 −1 Rakefile
  2. +5 −2 Readme
  3. +0 −4 lib/troff.rb
  4. +2 −1 lib/{tron.rb → unroller/debug.rb}
  5. +4 −0 lib/unroller/troff.rb
  6. +2 −0 lib/unroller/tron.rb
View
2 Rakefile
@@ -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|
View
7 Readme
@@ -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
View
4 lib/troff.rb
@@ -1,4 +0,0 @@
-# Just use the troff method instead, dummy.
-require 'unroller'
-troff
-
View
3 lib/tron.rb → lib/unroller/debug.rb
@@ -1,2 +1,3 @@
require 'unroller'
-tron
+Unroller::debug
+
View
4 lib/unroller/troff.rb
@@ -0,0 +1,4 @@
+# You should probably use the trace_off method directly instead.
+require 'unroller'
+Unroller::trace_off
+
View
2 lib/unroller/tron.rb
@@ -0,0 +1,2 @@
+require 'unroller'
+Unroller::trace_on

0 comments on commit a0729bf

Please sign in to comment.