diff options
Diffstat (limited to 'spec/ruby/core/proc/fixtures/common.rb')
| -rw-r--r-- | spec/ruby/core/proc/fixtures/common.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/ruby/core/proc/fixtures/common.rb b/spec/ruby/core/proc/fixtures/common.rb index 204acde597..dfe67d7ba8 100644 --- a/spec/ruby/core/proc/fixtures/common.rb +++ b/spec/ruby/core/proc/fixtures/common.rb @@ -47,6 +47,13 @@ module ProcSpecs @first = other.first @second = other.second end + + def initialize_clone(other, **options) + super + @initializer = :clone + @first = other.first + @second = other.second + end end class Arity |
