Sha256: f7d192d078ea41d580d59a0a5aab55e300b2a483ffd380d6316ddee3ac6bcf78
Contents?: true
Size: 389 Bytes
Versions: 3
Compression:
Stored size: 389 Bytes
Contents
module Docks module Tags class ActivateWith < Base def initialize @name = :activate_with @multiline = false @multiple_allowed = true end def process(symbol) symbol.update(@name) do |activate_withs| Array(activate_withs).map { |with| split_on_commas_spaces_and_pipes(with) }.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/activate_with_tag.rb |
docks_app-0.0.2 | lib/docks/tags/activate_with_tag.rb |
docks_app-0.0.1 | lib/docks/tags/activate_with_tag.rb |