Sha256: 2618e869f54cf1622467a8423587c11a34adb750640aae5cf3498dc5b5257115

Contents?: true

Size: 221 Bytes

Versions: 13

Compression:

Stored size: 221 Bytes

Contents

module Ruby2JS
  class Converter

    # (begin
    #   (...)
    #   (...))

    handle :begin do |*statements|
      state = @state
      statements.map{ |statement| parse statement, state }.join(@sep)
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
ruby2js-1.8.0 lib/ruby2js/converter/begin.rb
ruby2js-1.7.0 lib/ruby2js/converter/begin.rb
ruby2js-1.6.0 lib/ruby2js/converter/begin.rb
ruby2js-1.5.0 lib/ruby2js/converter/begin.rb
ruby2js-1.4.0 lib/ruby2js/converter/begin.rb
ruby2js-1.3.0 lib/ruby2js/converter/begin.rb
ruby2js-1.2.0 lib/ruby2js/converter/begin.rb
ruby2js-1.1.5 lib/ruby2js/converter/begin.rb
ruby2js-1.1.4 lib/ruby2js/converter/begin.rb
ruby2js-1.1.3 lib/ruby2js/converter/begin.rb
ruby2js-1.1.2 lib/ruby2js/converter/begin.rb
ruby2js-1.1.1 lib/ruby2js/converter/begin.rb
ruby2js-1.1.0 lib/ruby2js/converter/begin.rb