summaryrefslogtreecommitdiff
path: root/spec/ruby/core/kernel/eql_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/kernel/eql_spec.rb')
-rw-r--r--spec/ruby/core/kernel/eql_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/kernel/eql_spec.rb b/spec/ruby/core/kernel/eql_spec.rb
index e62a601a79..b3289090e5 100644
--- a/spec/ruby/core/kernel/eql_spec.rb
+++ b/spec/ruby/core/kernel/eql_spec.rb
@@ -3,7 +3,7 @@ require_relative '../../shared/kernel/equal'
describe "Kernel#eql?" do
it "is a public instance method" do
- Kernel.should have_public_instance_method(:eql?)
+ Kernel.public_instance_methods(false).should.include?(:eql?)
end
it_behaves_like :object_equal, :eql?
'>2019-11-07Promote net-smtp to default gemsHiroshi SHIBATA 2019-11-07Promote net-pop to default gemsHiroshi SHIBATA 2019-11-07Promote benchmark to default gemsHiroshi SHIBATA 2019-11-07Promote delegate to default gemsHiroshi SHIBATA 2019-11-07Promote pstore to default gemsHiroshi SHIBATA 2019-11-07Promote getoptlong to default gemsHiroshi SHIBATA 2019-11-07Promote open3 to default gemsHiroshi SHIBATA 2019-11-07Added rubygems url for published gemHiroshi SHIBATA 2019-11-07Promote singleton to default gemsHiroshi SHIBATA 2019-11-03[DOC] mentioned `\R` [ci skip]Nobuyoshi Nakada 2019-11-03[DOC] \s in regexp is not same as in string [ci skip]Nobuyoshi Nakada 2019-10-26Documentation improvements for Ruby corezverok 2019-10-23Fix typos [ci skip]Kazuhiro NISHIYAMA 2019-10-15Remove duplicated `.` [ci skip]Kazuhiro NISHIYAMA 2019-10-10Document the difference between expressions and statements [ci skip]Jeremy Evans 2019-10-07Add section to extension.rdoc for backwards compatibility macros [ci skip]Jeremy Evans 2019-10-07Note RB_PASS_EMPTY_KEYWORDS and RB_SCAN_ARGS_EMPTY_KEYWORDS will be removedJeremy Evans 2019-10-03Document *_kw functions added to include/ruby/ruby.h [ci skip]Jeremy Evans 2019-10-03Add documentation regarding keyword argument separation [ci skip]Jeremy Evans 2019-10-03Minor updates to methods and calling_methods documentation [ci skip]Jeremy Evans