Sha256: 41a3697e4c7fbd645b2e90ded7dfe23e58f490437c57b2bd7a3f00a84f63f875

Contents?: true

Size: 221 Bytes

Versions: 4

Compression:

Stored size: 221 Bytes

Contents

require_relative 'quote_stripper'

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

      private

      alias_method :fixed_quote, :quote
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
lovely_rufus-1.0.0 lib/lovely_rufus/layers/code_comment_stripper.rb
lovely_rufus-0.3.2 lib/lovely_rufus/layers/code_comment_stripper.rb
lovely_rufus-0.3.1 lib/lovely_rufus/layers/code_comment_stripper.rb
lovely_rufus-0.3.0 lib/lovely_rufus/layers/code_comment_stripper.rb