Sha256: 16f07dab2dc9e70bf591355bf99bb917cdff14bb3ef501c98b5d52f929a2b7b3

Contents?: true

Size: 166 Bytes

Versions: 9

Compression:

Stored size: 166 Bytes

Contents

module Ruby2JS
  class Converter
    handle :match_pattern do |value, name|
      parse @ast.updated(:lvasgn, [name.children.first, value]), @state
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
ruby2js-4.2.2 lib/ruby2js/converter/match.rb
ruby2js-4.2.1 lib/ruby2js/converter/match.rb
ruby2js-4.2.0 lib/ruby2js/converter/match.rb
ruby2js-4.1.7 lib/ruby2js/converter/match.rb
ruby2js-4.1.6 lib/ruby2js/converter/match.rb
ruby2js-4.1.5 lib/ruby2js/converter/match.rb
ruby2js-4.1.4 lib/ruby2js/converter/match.rb
ruby2js-4.1.3 lib/ruby2js/converter/match.rb
ruby2js-4.1.2 lib/ruby2js/converter/match.rb