Skip to content

Commit

Permalink
Use ivar in to_h implementaion
Browse files Browse the repository at this point in the history
  • Loading branch information
krzykamil committed Aug 7, 2024
1 parent 9debfdb commit 56081d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/hanami/action/contract.rb
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def valid?
#
# @since 2.2.0
def to_h
validate.to_h
@params
end

attr_reader :result
Expand Down

0 comments on commit 56081d2

Please sign in to comment.