This is the API documentation for Ruby 2.6.2.
New to Ruby? You may find these links helpful: syntax, control expressions, assignment, methods, modules + classes, and operator precedence.
This is the API documentation for Ruby 2.6.2.
::[] (Dir)
::[] (ENV)
::abort_on_exception= (Thread)
::asciicompat_encoding (Encoding::Converter)
::change_privilege (Process::GID)
::change_privilege (Process::UID)
::compile (RubyVM::InstructionSequence)
::compile_file (RubyVM::InstructionSequence)
::compile_option (RubyVM::InstructionSequence)
::compile_option= (RubyVM::InstructionSequence)
::default_external= (Encoding)
::default_internal= (Encoding)
::define_finalizer (ObjectSpace)
::disasm (RubyVM::InstructionSequence)
::disassemble (RubyVM::InstructionSequence)
::garbage_collect (ObjectSpace)
::grant_privilege (Process::GID)
::grant_privilege (Process::UID)
::load_from_binary (RubyVM::InstructionSequence)
::load_from_binary_extra_data (RubyVM::InstructionSequence)
::new (IO)
::new (RubyVM::InstructionSequence)
::of (RubyVM::AbstractSyntaxTree)
::of (RubyVM::InstructionSequence)
::parse (RubyVM::AbstractSyntaxTree)
::parse_file (RubyVM::AbstractSyntaxTree)
::re_exchangeable? (Process::GID)
::re_exchangeable? (Process::UID)
::report_on_exception (Thread)
::report_on_exception= (Thread)
::search_convpath (Encoding::Converter)
::sid_available? (Process::GID)
::sid_available? (Process::UID)
::undefine_finalizer (ObjectSpace)
::verify_internal_consistency (GC)
::verify_transient_heap_internal_consistency (GC)
#== (Enumerator::ArithmeticSequence)
#=== (Enumerator::ArithmeticSequence)
#absolute_path (RubyVM::InstructionSequence)
#absolute_path (Thread::Backtrace::Location)
#backtrace_locations (Exception)
#base_label (RubyVM::InstructionSequence)
#base_label (Thread::Backtrace::Location)
#begin (Enumerator::ArithmeticSequence)
#broadcast (ConditionVariable)
#children (RubyVM::AbstractSyntaxTree::Node)
#chunk_while (Enumerator::Lazy)
#class_variable_defined? (Module)
#collect_concat (Enumerator::Lazy)
#convert (Encoding::Converter)
#convpath (Encoding::Converter)
#define_singleton_method (Object)
#destination_encoding (Encoding::Converter)
#destination_encoding (Encoding::InvalidByteSequenceError)
#destination_encoding (Encoding::UndefinedConversionError)
#destination_encoding_name (Encoding::InvalidByteSequenceError)
#destination_encoding_name (Encoding::UndefinedConversionError)
#disasm (RubyVM::InstructionSequence)
#disassemble (RubyVM::InstructionSequence)
#drop_while (Enumerator::Lazy)
#each (Enumerator::ArithmeticSequence)
#each_child (RubyVM::InstructionSequence)
#each_grapheme_cluster (String)
#each_key (ObjectSpace::WeakMap)
#each_pair (ObjectSpace::WeakMap)
#each_value (ObjectSpace::WeakMap)
#each_with_object (Enumerable)
#each_with_object (Enumerator)
#end (Enumerator::ArithmeticSequence)
#eql? (Enumerator::ArithmeticSequence)
#error_bytes (Encoding::InvalidByteSequenceError)
#error_char (Encoding::UndefinedConversionError)
#eval (RubyVM::InstructionSequence)
#exclude_end? (Enumerator::ArithmeticSequence)
#executable_real? (File::Stat)
#first (Enumerator::ArithmeticSequence)
#first_column (RubyVM::AbstractSyntaxTree::Node)
#first_lineno (RubyVM::AbstractSyntaxTree::Node)
#first_lineno (RubyVM::InstructionSequence)
#hash (Enumerator::ArithmeticSequence)
#include? (ObjectSpace::WeakMap)
#incomplete_input? (Encoding::InvalidByteSequenceError)
#insert_output (Encoding::Converter)
#inspect (Encoding::Converter)
#inspect (Enumerator::ArithmeticSequence)
#inspect (ObjectSpace::WeakMap)
#inspect (RubyVM::AbstractSyntaxTree::Node)
#inspect (RubyVM::InstructionSequence)
#inspect (Thread::Backtrace::Location)
#instance_variable_defined? (Object)
#instance_variable_get (Object)
#instance_variable_set (Object)
#instruction_sequence (TracePoint)
#label (RubyVM::InstructionSequence)
#label (Thread::Backtrace::Location)
#last (Enumerator::ArithmeticSequence)
#last_column (RubyVM::AbstractSyntaxTree::Node)
#last_error (Encoding::Converter)
#last_lineno (RubyVM::AbstractSyntaxTree::Node)
#length (ObjectSpace::WeakMap)
#lineno (Thread::Backtrace::Location)
#local_variable_defined? (Binding)
#member? (ObjectSpace::WeakMap)
#original_name (UnboundMethod)
#path (RubyVM::InstructionSequence)
#path (Thread::Backtrace::Location)
#primitive_convert (Encoding::Converter)
#primitive_errinfo (Encoding::Converter)
#private_call? (NoMethodError)
#private_class_method (Module)
#private_instance_methods (Module)
#private_method_defined? (Module)
#protected_instance_methods (Module)
#protected_method_defined? (Module)
#public_instance_method (Module)
#public_instance_methods (Module)
#public_method_defined? (Module)
#putback (Encoding::Converter)
#raised_exception (TracePoint)
#random_number (Random::Formatter)
#readagain_bytes (Encoding::InvalidByteSequenceError)
#remove_class_variable (Module)
#remove_instance_variable (Object)
#replacement (Encoding::Converter)
#replacement= (Encoding::Converter)
#report_on_exception= (Thread)
#singleton_method_added (BasicObject)
#singleton_method_removed (BasicObject)
#singleton_method_undefined (BasicObject)
#size (Enumerator::ArithmeticSequence)
#slice_after (Enumerator::Lazy)
#slice_before (Enumerator::Lazy)
#slice_when (Enumerator::Lazy)
#source_encoding (Encoding::Converter)
#source_encoding (Encoding::InvalidByteSequenceError)
#source_encoding (Encoding::UndefinedConversionError)
#source_encoding_name (Encoding::InvalidByteSequenceError)
#source_encoding_name (Encoding::UndefinedConversionError)
#source_location (UnboundMethod)
#step (Enumerator::ArithmeticSequence)
#take_while (Enumerator::Lazy)
#to_a (RubyVM::InstructionSequence)
#to_binary (RubyVM::InstructionSequence)
#to_s (Thread::Backtrace::Location)
#trace_points (RubyVM::InstructionSequence)
#type (RubyVM::AbstractSyntaxTree::Node)