Skip to content

Commit

Permalink
stop using String#squish
Browse files Browse the repository at this point in the history
* it's provided by activesupport, with a small change we can just use
  plain ruby
  • Loading branch information
yob committed Jun 30, 2014
1 parent ed24475 commit 7e8cbff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/whenever/job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def process_template(template, options)
else
option
end
end.squish
end.gsub(/\s+/m, " ").strip
end

def escape_single_quotes(str)
Expand Down

0 comments on commit 7e8cbff

Please sign in to comment.