Sha256: 1337a92991b760c2d9df83beca3db590bacf3aad6983dae596bbcec3c3f92059
Contents?: true
Size: 427 Bytes
Versions: 3
Compression:
Stored size: 427 Bytes
Contents
# frozen_string_literal: true require_relative '../command' module Expire module Commands # Print the option names of all rules class RuleOptionNames < Expire::Command def initialize(options) @options = options end def execute(input: $stdin, output: $stdout) Expire.rule_option_names.each do |option_name| output.puts option_name end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
expire-0.2.2 | lib/expire/commands/rule_option_names.rb |
expire-0.2.1 | lib/expire/commands/rule_option_names.rb |
expire-0.2.0 | lib/expire/commands/rule_option_names.rb |