Sha256: 51afb85235bf5fc52a9f9cf3c007f56f772b789db1af480d43006431f50cbe79

Contents?: true

Size: 434 Bytes

Versions: 13

Compression:

Stored size: 434 Bytes

Contents

# frozen_string_literal: true

Mutant::Meta::Example.add :block, :lambda do
  source '->() {}'

  singleton_mutations

  mutation '->() { raise }'
end

Mutant::Meta::Example.add :block, :lambda do
  source '->() { foo.bar }'

  singleton_mutations

  mutation '->() { }'
  mutation '->() { self }'
  mutation '->() { nil }'
  mutation '->() { raise }'
  mutation '->() { self.bar }'
  mutation '->() { foo }'
  mutation 'foo.bar'
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
mutant-0.9.11 meta/lambda.rb
mutant-0.9.10 meta/lambda.rb
mutant-0.9.9 meta/lambda.rb
mutant-0.9.8 meta/lambda.rb
mutant-0.9.7 meta/lambda.rb
mutant-0.9.6 meta/lambda.rb
mutant-0.9.5 meta/lambda.rb
mutant-0.9.4 meta/lambda.rb
mutant-0.9.3 meta/lambda.rb
mutant-0.9.2 meta/lambda.rb
mutant-0.9.1 meta/lambda.rb
mutant-0.9.0 meta/lambda.rb
mutant-0.8.24 meta/lambda.rb