Skip to content
Permalink
Browse files
add test for public_methods(false)
  • Loading branch information
mattn committed Jun 17, 2016
1 parent 8764bd2 commit 8a15ab0c0cd8cd71cf315b6a2e40780cbf213cf1
Showing 1 changed file with 5 additions and 0 deletions.
@@ -423,6 +423,11 @@ class NoInspectClass

assert('Kernel#public_methods', '15.3.1.3.38') do
assert_equal Array, public_methods.class
class Foo
def foo
end
end
assert_equal [:foo], Foo.new.public_methods(false)
end

# Kernel#puts is defined in mruby-print mrbgem. '15.3.1.3.39'

0 comments on commit 8a15ab0

Please sign in to comment.