Sha256: 07edb0d224c86c3f3e1a6ab7bc500c42d17be7f5efed82c1011d7db3c9f036a0

Contents?: true

Size: 201 Bytes

Versions: 45

Compression:

Stored size: 201 Bytes

Contents

module Ruby2JS
  class Converter

    # (lvar :a)
    # (gvar :$a)

    handle :lvar, :gvar do |var|
      if var == :$!
        put '$EXCEPTION'
      else
        put var
      end
    end
  end
end

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
ruby2js-4.0.0 lib/ruby2js/converter/var.rb
ruby2js-3.6.1 lib/ruby2js/converter/var.rb
ruby2js-3.6.0 lib/ruby2js/converter/var.rb
ruby2js-3.5.3 lib/ruby2js/converter/var.rb
ruby2js-3.5.2 lib/ruby2js/converter/var.rb
ruby2js-3.5.1 lib/ruby2js/converter/var.rb
ruby2js-3.5.0 lib/ruby2js/converter/var.rb
ruby2js-3.4.0 lib/ruby2js/converter/var.rb
ruby2js-3.3.6 lib/ruby2js/converter/var.rb
ruby2js-3.3.5 lib/ruby2js/converter/var.rb
ruby2js-3.3.4 lib/ruby2js/converter/var.rb
ruby2js-3.3.3 lib/ruby2js/converter/var.rb
ruby2js-3.3.2 lib/ruby2js/converter/var.rb
ruby2js-3.3.1 lib/ruby2js/converter/var.rb
ruby2js-3.3.0 lib/ruby2js/converter/var.rb
ruby2js-3.2.0 lib/ruby2js/converter/var.rb
ruby2js-3.1.2 lib/ruby2js/converter/var.rb
ruby2js-3.1.1 lib/ruby2js/converter/var.rb
ruby2js-3.1.0 lib/ruby2js/converter/var.rb
ruby2js-3.0.15 lib/ruby2js/converter/var.rb