Sha256: e96bff9230b14feddfa64551f7f798a55bed0f0a7afb6159e10d0eb909f18ad3
Contents?: true
Size: 451 Bytes
Versions: 7
Compression:
Stored size: 451 Bytes
Contents
# frozen_string_literal: true require "sod" module Pragmater module CLI module Actions # Stores pragma comments. class Comment < Sod::Action include Import[:input] description "Set pragma comments." on %w[-c --comments], argument: "[a,b,c]" default { Container[:configuration].patterns } def call(comments = nil) = input.comments = Array(comments || default) end end end end
Version data entries
7 entries across 7 versions & 1 rubygems