Sha256: 6fe993633639b2fe009f9f878cc896e7e978447c26a0356116c582116422d316
Contents?: true
Size: 243 Bytes
Versions: 2
Compression:
Stored size: 243 Bytes
Contents
module Ruby2JS class Converter # (ivasgn :@a # (int 1)) handle :ivasgn do |var, expression=nil| put "#{ var.to_s.sub('@', 'this._') }" if expression put " = "; parse expression end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ruby2js-3.0.1 | lib/ruby2js/converter/ivasgn.rb |
ruby2js-3.0.0 | lib/ruby2js/converter/ivasgn.rb |