Skip to content

Commit

Permalink
Remove #[] from mixin
Browse files Browse the repository at this point in the history
  • Loading branch information
flash-gordon committed Mar 16, 2017
1 parent 9dd0afb commit 4659ef6
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions lib/dry/monads.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,5 @@ def Right(value)
def Left(value)
Either::Left.new(value)
end

# @param values [Array<Object>] list of values
# @return [List]
def [](*values)
List.new(values)
end
end
end

0 comments on commit 4659ef6

Please sign in to comment.