Sha256: e578c12050c61f8218e29f9f64a6c58da2e9c76639d982dea3247b33e5dacc90

Contents?: true

Size: 270 Bytes

Versions: 13

Compression:

Stored size: 270 Bytes

Contents

require 'ffi'

module RbBug
  extend FFI::Library
  ffi_lib 'ruby'
  attach_function :rb_bug, [:string, :varargs], :void

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

end # RbBug

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
mutant-0.7.9 spec/support/rb_bug.rb
mutant-0.7.8 spec/support/rb_bug.rb
mutant-0.7.7 spec/support/rb_bug.rb
mutant-0.7.6 spec/support/rb_bug.rb
mutant-0.7.5 spec/support/rb_bug.rb
mutant-0.7.4 spec/support/rb_bug.rb
mutant-0.7.3 spec/support/rb_bug.rb
mutant-0.7.2 spec/support/rb_bug.rb
mutant-0.7.1 spec/support/rb_bug.rb
mutant-0.6.7 spec/support/rb_bug.rb
mutant-0.6.6 spec/support/rb_bug.rb
mutant-0.6.5 spec/support/rb_bug.rb
mutant-0.6.4 spec/support/rb_bug.rb