Skip to content

Commit

Permalink
Use delete! instead of gsub!
Browse files Browse the repository at this point in the history
  • Loading branch information
sferik committed Aug 14, 2015
1 parent c0f4439 commit 63e0074
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mlb/team.rb
Expand Up @@ -129,7 +129,7 @@ def self.mql_query # rubocop:disable MethodLength
"type": "/baseball/baseball_team"
}]
eos
query.gsub!("\n", '').gsub!(' ', '')
query.delete!("\n").delete!(' ')
end
end
end

0 comments on commit 63e0074

Please sign in to comment.