Skip to content

Commit

Permalink
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion corelib/opal/native.rb
Original file line number Diff line number Diff line change
@@ -6,7 +6,11 @@ def Native(obj)

class Native
def self.===(value)
`value == null || !value._klass`
if self == Native
`value == null || !value._klass`
else
super
end
end

def self.try_convert(value)

0 comments on commit cf7661b

Please sign in to comment.