Sha256: b59c1a0087cc80ac7f4a8ed396233bb2551763e4b923c41460ee2c8911bee711

Contents?: true

Size: 172 Bytes

Versions: 1

Compression:

Stored size: 172 Bytes

Contents

module Repper
  module Format
    # A no-op format, equivalent to the original Regexp#inspect.
    Plain = ->(tokens, *) do
      tokens.map(&:text).join
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
repper-1.1.0 lib/repper/format/plain.rb