There was an error while loading. Please reload this page.
1 parent 89e3830 commit 1e1745eCopy full SHA for 1e1745e
RbCall.jl/src/conversion.jl
@@ -7,7 +7,7 @@
7
8
RubyObject(::Nothing) = RubyObject(RbPtr_Qnil)
9
10
-RubyObject(b::Bool) = RubyObject(RbPtr(b ? RUBY_Qtrue : RUBY_Qfalse))
+RubyObject(b::Bool) = RubyObject(b ? RbPtr_Qtrue : RbPtr_Qfalse)
11
12
RubyObject(i::Int8) = RubyObject(RB_INT2FIX(Cint(i)))
13
RubyObject(i::UInt8) = RubyObject(RB_INT2FIX(Cint(i)))
0 commit comments