Created
November 8, 2011 02:18
-
-
Save baroquebobcat/1346820 to your computer and use it in GitHub Desktop.
Blog post notes
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
add_method('==', [Object], Boolean) do |compiler, call, expression| | |
if expression | |
java_method('equals',Object).call(compiler, call, expression) | |
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
class Greeter < ShatnerBase | |
get '/' do | |
@person = 'Bob' | |
edb :hello | |
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
class Greeter < ShatnerBase | |
get '/' do | |
@person = 'Bob' | |
render do | |
def_edb render 'views/hello.edb' | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment