Skip to content

Commit

Permalink
BasicObject is not a Kernel
Browse files Browse the repository at this point in the history
  • Loading branch information
elia committed Sep 17, 2013
1 parent 35199e5 commit 619d46b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion corelib/native.rb
Expand Up @@ -31,7 +31,7 @@ def self.included(klass)
end

def initialize(native)
unless native?(native)
unless Kernel.native?(native)
raise ArgumentError, "the passed value isn't native"
end

Expand Down

0 comments on commit 619d46b

Please sign in to comment.