Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/about_iteration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def as_name(name)
end
end

in_ruby_version("1.9", "2", "3") do
in_ruby_version("1.9", "2", "3", "4") do
def as_name(name)
name.to_sym
end
Expand Down
2 changes: 1 addition & 1 deletion src/about_strings.rb
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def test_in_older_ruby_single_characters_are_represented_by_integers
end
end

in_ruby_version("1.9", "2", "3") do
in_ruby_version("1.9", "2", "3", "4") do
def test_in_modern_ruby_single_characters_are_represented_by_strings
assert_equal __('a'), ?a
assert_equal __(false), ?a == 97
Expand Down
2 changes: 1 addition & 1 deletion src/neo.rb
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def ____(method=nil)
end
end

in_ruby_version("1.9", "2", "3") do
in_ruby_version("1.9", "2", "3", "4") do
public :method_missing
end
end
Expand Down
4 changes: 2 additions & 2 deletions src/path_to_enlightenment.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
require 'about_nil'
require 'about_hashes'
require 'about_methods'
in_ruby_version("2", "3") do
in_ruby_version("2", "3", "4") do
require 'about_keyword_arguments'
end
require 'about_constants'
Expand All @@ -38,7 +38,7 @@
in_ruby_version("jruby") do
require 'about_java_interop'
end
in_ruby_version("2.7", "3") do
in_ruby_version("2.7", "3", "4") do
require 'about_pattern_matching'
end
require 'about_extra_credit'