Skip to content

Commit

Permalink
Fixing a disagreement between the argument name and what the body of the
Browse files Browse the repository at this point in the history
method wants to call it.
  • Loading branch information
Ed Carrel committed Nov 3, 2011
1 parent 1d90810 commit 4169945
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/bitly/v3/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,10 @@ def clicks_by_day(input)
private

def arrayize(arg)
if input.is_a?(String)
[input]
if arg.is_a?(String)
[arg]
else
input.dup
arg.dup
end
end

Expand Down

0 comments on commit 4169945

Please sign in to comment.