diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2016-02-12 09:55:42 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2016-02-12 09:55:42 -0800 |
commit | b48b150cc50dbd54a719ea54a965de53d4531170 (patch) | |
tree | ca26e5887c259d6c2c1d6b9fc82247fefa8fe8c0 /lib/chef/resource/cron.rb | |
parent | 03eadde04eb219bfa8abe52d312261a5142e7266 (diff) | |
download | chef-b48b150cc50dbd54a719ea54a965de53d4531170.tar.gz |
convert MultilineOperationIndentation style to "indented"
this looks nicer.
Diffstat (limited to 'lib/chef/resource/cron.rb')
-rw-r--r-- | lib/chef/resource/cron.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/resource/cron.rb b/lib/chef/resource/cron.rb index 26711fde16..74fa6685f1 100644 --- a/lib/chef/resource/cron.rb +++ b/lib/chef/resource/cron.rb @@ -126,8 +126,8 @@ class Chef error_message << Provider::Cron::WEEKDAY_SYMBOLS.map { |sym| ":#{sym}" }.join(", ") error_message << " and a string in crontab format" if (arg.is_a?(Symbol) && !Provider::Cron::WEEKDAY_SYMBOLS.include?(arg)) || - (!arg.is_a?(Symbol) && integerize(arg) > 7) || - (!arg.is_a?(Symbol) && integerize(arg) < 0) + (!arg.is_a?(Symbol) && integerize(arg) > 7) || + (!arg.is_a?(Symbol) && integerize(arg) < 0) raise RangeError, error_message end rescue ArgumentError |