add lambda to RubySourceGenerator