ruby-koans/path_to_enlightenment.rb

45 lines
1.1 KiB
Ruby
Raw Normal View History

2023-12-26 18:54:23 +00:00
# The path to Ruby Enlightenment starts with the following:
$LOAD_PATH << File.dirname(__FILE__)
require 'about_asserts'
require 'about_true_and_false'
require 'about_strings'
require 'about_symbols'
require 'about_arrays'
require 'about_array_assignment'
require 'about_objects'
require 'about_nil'
require 'about_hashes'
require 'about_methods'
in_ruby_version("2", "3") do
require 'about_keyword_arguments'
end
require 'about_constants'
require 'about_regular_expressions'
require 'about_control_statements'
require 'about_triangle_project'
require 'about_exceptions'
require 'about_triangle_project_2'
require 'about_iteration'
require 'about_blocks'
require 'about_sandwich_code'
require 'about_scoring_project'
require 'about_classes'
require 'about_open_classes'
require 'about_dice_project'
require 'about_inheritance'
require 'about_modules'
require 'about_scope'
require 'about_class_methods'
require 'about_message_passing'
require 'about_proxy_object_project'
require 'about_to_str'
in_ruby_version("jruby") do
require 'about_java_interop'
end
in_ruby_version("2.7") do
require 'about_pattern_matching'
end
require 'about_extra_credit'