From 4659ef610afbb1970d39cd0e30098166fa3e1d60 Mon Sep 17 00:00:00 2001 From: Nikita Shilnikov Date: Thu, 16 Mar 2017 22:10:38 +0300 Subject: [PATCH] Remove `#[]` from mixin --- lib/dry/monads.rb | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/dry/monads.rb b/lib/dry/monads.rb index 5eab674..344062e 100644 --- a/lib/dry/monads.rb +++ b/lib/dry/monads.rb @@ -39,11 +39,5 @@ def Right(value) def Left(value) Either::Left.new(value) end - - # @param values [Array] list of values - # @return [List] - def [](*values) - List.new(values) - end end end