Skip to content

Commit 63455c3

Browse files
committed
[core] remove redundant identity function
Dry::Transformer::Coercions provide this function OOTB
1 parent 4f99f36 commit 63455c3

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

core/lib/rom/processor/transformer.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,6 @@ module Functions
2828

2929
INVALID_INJECT_UNION_VALUE = '%s attribute: block is required for :from with union value.'
3030

31-
def self.identity(tuple)
32-
tuple
33-
end
34-
3531
def self.get(arr, idx)
3632
arr[idx]
3733
end

0 commit comments

Comments
 (0)