Class: HammerCLIForemanRemoteExecution::Options::Normalizers::CronLine
- Inherits:
-
HammerCLI::Options::Normalizers::AbstractNormalizer
- Object
- HammerCLI::Options::Normalizers::AbstractNormalizer
- HammerCLIForemanRemoteExecution::Options::Normalizers::CronLine
- Defined in:
- lib/hammer_cli_foreman_remote_execution/options/normalizers.rb
Instance Method Summary collapse
Instance Method Details
#description ⇒ Object
27 28 29 |
# File 'lib/hammer_cli_foreman_remote_execution/options/normalizers.rb', line 27 def description _("Cron line format 'a b c d e', where:\n a. is minute (range: 0-59)\n b. is hour (range: 0-23)\n c. is day of month (range: 1-31)\n d. is month (range: 1-12)\n e. is day of week (range: 0-6)") end |
#format(val) ⇒ Object
31 32 33 |
# File 'lib/hammer_cli_foreman_remote_execution/options/normalizers.rb', line 31 def format(val) val end |