Sha256: 1d446f525a9d9a6fce42a16fd81d5b03df94152eb5a6c1e987ef6ab08e477c25
Contents?: true
Size: 335 Bytes
Versions: 28
Compression:
Stored size: 335 Bytes
Contents
module Ruby2JS class Converter # (ivasgn :@a # (int 1)) handle :ivasgn do |var, expression=nil| multi_assign_declarations if @state == :statement put "#{ var.to_s.sub('@', 'this.' + (underscored_private ? '_' : '#')) }" if expression put " = "; parse expression end end end end
Version data entries
28 entries across 28 versions & 1 rubygems