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
puts "Hello" + " world" | |
puts "What is your name?" | |
name = gets.chomp | |
def do_a_funny_cheer(probably_keith) | |
puts "laugh at #{probably_keith}" | |
# Give me a K! ad nauseum | |
end | |
do_a_funny_cheer(name) | |
# fizz buzz would be really cool here since they know % | |
# these are comments you don't have to type them |
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
public abstract class ErrorBehavior<T extends Exception> { | |
public abstract void handle(T e); | |
public class SilentErrorBehavior extends ErrorBehavior { | |
@Override | |
public void handle(T e) { | |
} | |
} |
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
$ sudo jruby -S bundle install | |
Could not find rake-0.9.2 in any of the sources | |
$ sudo jruby -S gem list | |
*** LOCAL GEMS *** | |
bundler (1.0.21) | |
rake (0.9.2) | |
rubygems-update (1.6.0) | |
sources (0.0.1) |
NewerOlder