Skip to content

Commit

Permalink
context: kiss constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
alessandro-fazzi committed Aug 10, 2024
1 parent 82f3b4a commit 72585a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/i_do_not_need_interactor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def initialize(**initial_values)
super()
@errors = []
@_executed = []
initial_values.to_hash.each { |key, value| self[key] = value }
merge! initial_values
end

def register(object)
Expand Down

0 comments on commit 72585a0

Please sign in to comment.