parent
b1854ef061
commit
7f351fdb6a
2 changed files with 2 additions and 1 deletions
|
@ -25,7 +25,7 @@ module Mutant
|
||||||
eql?: %i[equal?],
|
eql?: %i[equal?],
|
||||||
to_s: %i[to_str],
|
to_s: %i[to_str],
|
||||||
to_i: %i[to_int],
|
to_i: %i[to_int],
|
||||||
to_a: %i[to_ary],
|
to_a: %i[to_ary to_set],
|
||||||
to_h: %i[to_hash],
|
to_h: %i[to_hash],
|
||||||
at: %i[fetch key?],
|
at: %i[fetch key?],
|
||||||
fetch: %i[key?],
|
fetch: %i[key?],
|
||||||
|
|
|
@ -144,6 +144,7 @@ Mutant::Meta::Example.add do
|
||||||
mutation 'foo'
|
mutation 'foo'
|
||||||
mutation 'self.to_a'
|
mutation 'self.to_a'
|
||||||
mutation 'foo.to_ary'
|
mutation 'foo.to_ary'
|
||||||
|
mutation 'foo.to_set'
|
||||||
end
|
end
|
||||||
|
|
||||||
Mutant::Meta::Example.add do
|
Mutant::Meta::Example.add do
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue