Sha256: 1626e3813521d689bc645056800a8f00532d41f40b2b502353e5babc0a6d9c96

Contents?: true

Size: 237 Bytes

Versions: 13

Compression:

Stored size: 237 Bytes

Contents

module Ruby2JS
  class Converter

    # (dstr
    #   (str 'a')
    #   (...))

    # (dsym
    #   (str 'a')
    #   (...))

    handle :dstr, :dsym do |*children|
      children.map{ |child| parse child }.join(' + ')
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
ruby2js-1.8.0 lib/ruby2js/converter/dstr.rb
ruby2js-1.7.0 lib/ruby2js/converter/dstr.rb
ruby2js-1.6.0 lib/ruby2js/converter/dstr.rb
ruby2js-1.5.0 lib/ruby2js/converter/dstr.rb
ruby2js-1.4.0 lib/ruby2js/converter/dstr.rb
ruby2js-1.3.0 lib/ruby2js/converter/dstr.rb
ruby2js-1.2.0 lib/ruby2js/converter/dstr.rb
ruby2js-1.1.5 lib/ruby2js/converter/dstr.rb
ruby2js-1.1.4 lib/ruby2js/converter/dstr.rb
ruby2js-1.1.3 lib/ruby2js/converter/dstr.rb
ruby2js-1.1.2 lib/ruby2js/converter/dstr.rb
ruby2js-1.1.1 lib/ruby2js/converter/dstr.rb
ruby2js-1.1.0 lib/ruby2js/converter/dstr.rb