Sha256: 81090f113736d2defe8c9d534eb432320dacce6ad4d37775f661233ee9bdba6b

Contents?: true

Size: 378 Bytes

Versions: 3

Compression:

Stored size: 378 Bytes

Contents

module Docks
  module Tags
    class Preclude < Base
      def initialize
        @name = :preclude
        @multiline = false
        @multiple_allowed = true
      end

      def process(symbol)
        symbol.update(@name) do |precludes|
          Array(precludes).map { |preclude| split_on_commas_spaces_and_pipes(preclude) }.flatten
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
docks_app-0.0.3 lib/docks/tags/preclude_tag.rb
docks_app-0.0.2 lib/docks/tags/preclude_tag.rb
docks_app-0.0.1 lib/docks/tags/preclude_tag.rb