diff options
author | Saku Ytti <saku@ytti.fi> | 2018-05-30 20:04:36 +0300 |
---|---|---|
committer | Saku Ytti <saku@ytti.fi> | 2018-05-30 20:04:36 +0300 |
commit | cb2b0ceb1c928ac4ab1718bf0a23e9763df614ea (patch) | |
tree | ecbcffe25270ed09e140906821a613c3cfe5d21f /lib/oxidized/string.rb | |
parent | c511a212c1388db35f0f42af2a33241986846e04 (diff) |
rubocop fixes
Diffstat (limited to 'lib/oxidized/string.rb')
-rw-r--r-- | lib/oxidized/string.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/string.rb b/lib/oxidized/string.rb index 87250c1..9c09f61 100644 --- a/lib/oxidized/string.rb +++ b/lib/oxidized/string.rb @@ -16,7 +16,7 @@ module Oxidized # sets @cmd and @name unless @name is already set def set_cmd command @cmd = command - @name ||= @cmd.to_s.strip.gsub(/\s+/, '_') # what to do when command is proc? #to_s seems ghetto + @name ||= @cmd.to_s.strip.gsub(/\s+/, '_') # what to do when command is proc? #to_s seems ghetto end def initialize str = '' |