[#87847] undefined symbol: mjit_init_p — Leam Hall <leamhall@...>

I pulled Ruby trunk on 3 Jul and am now getting errors similar to the

10 messages 2018/07/07

[#88088] [Ruby trunk Misc#14937] [PATCH] thread_pthread: lazy-spawn timer-thread only on contention — normalperson@...

Issue #14937 has been reported by normalperson (Eric Wong).

9 messages 2018/07/24

[ruby-core:88019] [Ruby trunk Feature#14925] Kernel#assert(expression)

From: se8.and@...
Date: 2018-07-20 13:27:09 UTC
List: ruby-core #88019
Issue #14925 has been reported by deneb (S辿bastien Durand).

----------------------------------------
Feature #14925: Kernel#assert(expression)
https://bugs.ruby-lang.org/issues/14925

* Author: deneb (S辿bastien Durand)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
----------------------------------------
Sometimes, you want to quickly test your code, but it's overkill to reach for a unit test library.

So could it be useful to add this method to Ruby?

~~~ ruby
def assert(expression)
  expression or raise AssertionError, 'assertion failed', caller
end

~~~




-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next