Sha256: 8e1a2d526fb0155b3efab1248651d587c0b90c8ebed014e519085384d6cefb47

Contents?: true

Size: 283 Bytes

Versions: 28

Compression:

Stored size: 283 Bytes

Contents

module Ruby2JS
  class Converter

    # (prototype expr) 

    # NOTE: prototype is a synthetic 

    handle :prototype do |expr|
      begin
        prototype, @prototype = @prototype, true
        parse(expr)
      ensure
        @prototype = prototype
      end
    end
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
ruby2js-1.9.0 lib/ruby2js/converter/prototype.rb
ruby2js-1.8.0 lib/ruby2js/converter/prototype.rb
ruby2js-1.7.0 lib/ruby2js/converter/prototype.rb
ruby2js-1.6.0 lib/ruby2js/converter/prototype.rb
ruby2js-1.5.0 lib/ruby2js/converter/prototype.rb
ruby2js-1.4.0 lib/ruby2js/converter/prototype.rb
ruby2js-1.3.0 lib/ruby2js/converter/prototype.rb
ruby2js-1.2.0 lib/ruby2js/converter/prototype.rb