via PeepCode
This file contains 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
define eval | |
call(rb_p(rb_eval_string_protect($arg0,(int*)0))) | |
end | |
define redirect_stdout | |
call rb_eval_string("$_old_stdout, $stdout = $stdout, File.open('/tmp/ruby-debug.' + Process.pid.to_s, 'a'); $stdout.sync = true") | |
end |
This file contains 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
module ActiveSupport | |
module Cache | |
class Store | |
protected | |
# Append to an entry from the cache implementation. Subclasses must implement this method. | |
def append(name, value, options = nil) | |
raise NotImplementedError.new("#{self.class.name} does not support append") | |
end | |
end |
This file contains 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
echo -e '\n" Associate .as to ActionScript\nau BufNewFile,BufRead *.as set filetype=actionscript' >> ~/.vimrc |