Skip to content

Commit 5d33695

Browse files
author
Miguel Montalvo
committed
Improvement based on comments
1 parent e6a6c11 commit 5d33695

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ruby/lib/cucumber/cucumber_expressions/argument.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ def initialize(group, parameter_type)
3333
def value(self_obj = :nil)
3434
raise 'No self_obj' if self_obj == :nil
3535

36-
group_values = @group&.values
37-
@parameter_type.transform(self_obj, group_values)
36+
@parameter_type.transform(self_obj, @group&.values)
3837
end
3938
end
4039
end

0 commit comments

Comments
 (0)