Sha256: 2c35f1acc16b2e79099d193c125d8c13c08b49f16c926e442512b3eb2cf7deba

Contents?: true

Size: 130 Bytes

Versions: 3

Compression:

Stored size: 130 Bytes

Contents

module Ruby2JS
  class Converter

    # (ivar :@a)

    handle :ivar do |var|
      var.to_s.sub('@', 'this._')
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ruby2js-1.1.2 lib/ruby2js/converter/ivar.rb
ruby2js-1.1.1 lib/ruby2js/converter/ivar.rb
ruby2js-1.1.0 lib/ruby2js/converter/ivar.rb