Sha256: 0ad3c2faaaf9198bc761d80838fb583f9711e03bc6dd0d32f38de01c4c9c2be5
Contents?: true
Size: 425 Bytes
Versions: 2
Compression:
Stored size: 425 Bytes
Contents
# frozen_string_literal: true require "sod" module Rubysmith module CLI module Actions # Stores citation flag. class Citation < Sod::Action include Import[:settings] description "Add citation documentation." on "--[no-]citation" default { Container[:settings].build_citation } def call(value = nil) = settings.build_citation = value end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rubysmith-7.1.0 | lib/rubysmith/cli/actions/citation.rb |
rubysmith-7.0.0 | lib/rubysmith/cli/actions/citation.rb |