Daniel,
This is seriously the coolest thing I've seen in awhile... good work!
Kevin
On Apr 28, 2006, at 2:00 PM, Daniel Harple wrote:
Here is a useful bundle for testing out ruby snippets. It includes a script from eigenclass.org[1].
⌘= insert/remove an eval marker for the current line ⌘E evaluates and annotate the file according to the markers
If there are errors they are placed at the end of the file.
Examples (after eval):
(1..10).each do |i| i ** i # => 1, 4, 27, 256, 3125, 46656, 823543, 16777216, 387420489, 10000000000 end (1..10).to_a # => [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
Unfortunately you can't do something like this:
(1..10).each do |i| i ** i end # =>
+assertions+for+profit
-- Daniel
<Ruby Evaluate.tmbundle.zip>
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
Kevin Marsh kevin@kevinmarsh.com email | 419.410.8054 cell | willcodeforfoo aim