Sha256: 4dca92d3b32e9e0f1e98cddf75baa29e408fd04d161a5ae8bafd7e16d8054516

Contents?: true

Size: 199 Bytes

Versions: 28

Compression:

Stored size: 199 Bytes

Contents

module Ruby2JS
  class Converter

    # (yield
    #   (arg 'a'))

    handle :yield do |*args|
      put '_implicitBlockYield'
      put "("; parse_all(*args, join: ', '); put ')'
    end
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
ruby2js-4.0.0 lib/ruby2js/converter/yield.rb
ruby2js-3.6.1 lib/ruby2js/converter/yield.rb
ruby2js-3.6.0 lib/ruby2js/converter/yield.rb
ruby2js-3.5.3 lib/ruby2js/converter/yield.rb
ruby2js-3.5.2 lib/ruby2js/converter/yield.rb
ruby2js-3.5.1 lib/ruby2js/converter/yield.rb
ruby2js-3.5.0 lib/ruby2js/converter/yield.rb
ruby2js-3.4.0 lib/ruby2js/converter/yield.rb