Sha256: 91172ea03fe13e3826e9eeeb2eebea972c816ef8bb05f165c28ea4959b605aa6

Contents?: true

Size: 227 Bytes

Versions: 1

Compression:

Stored size: 227 Bytes

Contents

# frozen_string_literal: true

require_relative 'quote_stripper'

module LovelyRufus
  module Layers
    class CodeCommentStripper < QuoteStripper
      QUOTES = %r{^\s*(//|#) }

      alias fixed_quote quote
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lovely_rufus-1.0.1 lib/lovely_rufus/layers/code_comment_stripper.rb