This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
class Autotester | |
MONITOR_MATCH_PATTERN = "**/*.rb" | |
TEST_COMMAND = "rspec spec" | |
def cache | |
@cache ||= {} | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
TAB_STOP = 2 | |
$directories_only = false | |
$use_color = true | |
class Tree | |
attr_reader :word, :branches |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
def fail(msg) | |
puts msg | |
puts | |
exit | |
end | |
fail "Usage: line [filename] [lineno]" if !ARGV[0] || !ARGV[1] || !File.file?(ARGV[0]) |
NewerOlder