Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Blog post notes
add_method('==', [Object], Boolean) do |compiler, call, expression|
if expression
java_method('equals',Object).call(compiler, call, expression)
end
end
class Greeter < ShatnerBase
get '/' do
@person = 'Bob'
edb :hello
end
end
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