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-5.1.1 lib/ruby2js/converter/var.rb
ruby2js-5.1.0 lib/ruby2js/converter/var.rb
ruby2js-5.0.1 lib/ruby2js/converter/var.rb
ruby2js-5.0.0 lib/ruby2js/converter/var.rb
ruby2js-4.2.2 lib/ruby2js/converter/var.rb
ruby2js-4.2.1 lib/ruby2js/converter/var.rb
ruby2js-4.2.0 lib/ruby2js/converter/var.rb
ruby2js-4.1.7 lib/ruby2js/converter/var.rb
ruby2js-4.1.6 lib/ruby2js/converter/var.rb
ruby2js-4.1.5 lib/ruby2js/converter/var.rb
ruby2js-4.1.4 lib/ruby2js/converter/var.rb
ruby2js-4.1.3 lib/ruby2js/converter/var.rb
ruby2js-4.1.2 lib/ruby2js/converter/var.rb
ruby2js-4.1.1 lib/ruby2js/converter/var.rb
ruby2js-4.1.0 lib/ruby2js/converter/var.rb
ruby2js-4.0.5 lib/ruby2js/converter/var.rb
ruby2js-4.0.4 lib/ruby2js/converter/var.rb
ruby2js-4.0.3 lib/ruby2js/converter/var.rb
ruby2js-4.0.2 lib/ruby2js/converter/var.rb
ruby2js-4.0.1 lib/ruby2js/converter/var.rb