Sha256: ab9e724cefd61af3aad76780c5a966efbcf8cc562b03cf4fd5bd5349a8ecd3f8

Contents?: true

Size: 259 Bytes

Versions: 8

Compression:

Stored size: 259 Bytes

Contents

require 'ffi'

# @api private
module RbBug
  extend FFI::Library
  ffi_lib 'ruby'
  attach_function :rb_bug, %i[string varargs], :void

  # Call the test bug
  #
  # @return [undefined]
  def self.call
    rb_bug('%s', :string, 'test bug')
  end

end # RbBug

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
mutant-0.8.16 spec/support/rb_bug.rb
mutant-0.8.15 spec/support/rb_bug.rb
mutant-0.8.14 spec/support/rb_bug.rb
mutant-0.8.13 spec/support/rb_bug.rb
mutant-0.8.12 spec/support/rb_bug.rb
mutant-0.8.11 spec/support/rb_bug.rb
mutant-0.8.10 spec/support/rb_bug.rb
mutant-0.8.9 spec/support/rb_bug.rb