Method: OptionalOptions#changed_since
- Defined in:
- lib/gitarro/opt_parser.rb
#changed_since(opt) ⇒ Object
101 102 103 104 105 106 107 108 |
# File 'lib/gitarro/opt_parser.rb', line 101 def changed_since(opt) changed_since_desc = 'If present, will only check PRs with a ' \ 'change in the last X seconds' opt.on("--changed_since 'SECONDS'", changed_since_desc) do |changed_since| @options[:changed_since] = Integer(changed_since) end end |