Ruby apidock.com Docs 1.8.7
Array Hash String Enumerable Range Set File Date Time OpenURI Net/HTTP
Array
Class methods
Instance methods
== | - [] []= * & + abbrev assoc at choice clear collect collect! combination compact compact! concat count cycle dclone delete delete_at delete_if drop drop_while each each_index empty? eql? fetch fill find_index first flatten flatten! frozen? hash include? index indexes indices initialize_copy insert inspect join last length map map! nitems pack permutation pop pretty_print pretty_print_cycle product push
Hash
Class methods
Instance methods
== [] []= clear default default= default_proc delete delete_if each each_key each_pair each_value empty? eql? fetch hash has_key? has_value? include? index indexes indices initialize_copy inspect invert key? keys length member? merge merge! pretty_print pretty_print_cycle rehash reject reject! replace select shift size sort store to_a to_hash to_s to_yaml update value? values values_at yaml_initialize
String
Class methods
Instance methods
=~ == [] []= * % + block_scanf bytes bytesize capitalize capitalize! casecmp center chars chomp chomp! chop chop! concat count crypt delete delete! downcase downcase! dump each each_byte each_char each_line empty? end_regexp end_with? eql? _expand_ch expand_ch_hash gsub gsub! hash hex include? index initialize_copy insert inspect intern is_binary_data? is_complex_yaml? iseuc issjis isutf8 jcount jlength jsize kconv length lines ljust lstrip lstrip! match mbchar? next next! oct original_succ original_succ! partition
Enumerable
Instance methods
all? any? collect count cycle detect drop drop_while each_cons each_slice each_with_index entries enum_cons enum_slice enum_with_index find find_all find_index first grep group_by include? inject map max max_by member? min min_by minmax minmax_by none? one? partition reduce reject reverse_each select sort sort_by take take_while to_a to_set zip
Range
Class methods
Instance methods
== === begin each end eql? exclude_end? first hash include? inspect last member? pretty_print step to_s to_yaml
Set
Class methods
Instance methods
^ == | - & + add add? classify clear collect! delete delete? delete_if difference divide each empty? eql? flatten flatten! flatten_merge hash include? initialize_copy inspect intersection length map! member? merge pretty_print pretty_print_cycle proper_subset? proper_superset? reject! replace size subset? subtract superset? to_a union
File
Class methods
atime basename blockdev? catname chardev? chmod chown compare copy ctime delete directory? dirname executable? executable_real? exist? exists? expand_path extname file? fnmatch fnmatch? ftype grpowned? identical? install join lchmod lchown link lstat makedirs move mtime new owned? pipe? readable? readable_real? readlink rename safe_unlink setgid? setuid? size size? socket? split stat sticky? symlink symlink? syscopy truncate umask unlink utime writable? writable_real? zero?
Instance methods
atime chmod chown ctime flock lstat mtime o_chmod path truncate
Date
Class methods
ajd_to_amjd ajd_to_jd amjd_to_ajd civil civil_to_jd commercial commercial_to_jd complete_frags day_fraction_to_time deprecated_alias deprecated_class_method_alias fix_style gregorian? gregorian_leap? jd jd_to_ajd jd_to_civil jd_to_commercial jd_to_ld jd_to_mjd jd_to_ordinal jd_to_wday jd_to_weeknum julian? julian_leap? ld_to_jd _load mjd_to_jd new new_by_frags now num_pattern? once ordinal ordinal_to_jd parse _parse
Instance methods
=== >> - + ajd amjd asctime civil commercial ctime cwday cweek cwyear day day_fraction downto _dump emit emit_a emit_ad emit_au emit_n emit_sn emit_w emit_z england eql? fix_style gregorian gregorian? hash hour inspect italy jd julian julian? ld leap? mday min mjd mon month new_offset new_start next next_day offset ordinal sec sec_fraction start step strftime succ time to_s to_yaml upto wday weeknum0 weeknum1 wnum0 wnum1 yday year zone
Time
Class methods
apply_offset at gm httpdate _load local make_time mktime month_days new now parse rfc2822 times utc w3cdtf xmlschema yaml_new zone_offset zone_utc?
Instance methods
- + asctime ctime day dst? _dump eql? getgm getlocal getutc gmt? gmtime gmtoff gmt_offset hash hour httpdate initialize_copy inspect isdst iso8601 localtime marshal_dump marshal_load mday min mon month rfc2822 rfc822 sec strftime succ to_a to_date to_datetime to_f to_i to_s to_yaml tv_sec tv_usec usec utc utc? utc_offset w3cdtf wday xmlschema yday year zone
OpenURI
Class methods
check_options open_http open_loop open_uri redirectable? scan_open_optional_arguments
Net/HTTP
Class methods
default_port get get_print get_response http_default_port https_default_port new post_form Proxy proxy_class? socket_type ssl_context_accessor start version_1_1 version_1_1? version_1_2 version_1_2?
Instance methods
active? addr_port begin_transport conn_address connect conn_port copy D delete do_finish do_start edit_path end_transport finish get get2 head head2 inspect keep_alive? lock mkcol move on_connect options peer_cert post post2 propfind proppatch proxy? proxyaddr proxy_address proxy_pass proxyport proxy_port proxy_user put put2 read_timeout= request request_get request_head request_post request_put send_request set_debug_output ssl_timeout ssl_timeout= start started? timeout= trace unlock use_ssl use_ssl= use_ssl?
Ruby Docs 1.8.7
Links to ruby-doc.org
ArgumentError zzzArray Bignum Binding Class Comparable Continuation Data Dir EOFError Enumerable Enumerable::Enumerator Errno Exception FalseClass File File::Constants File::Stat FileTest Fixnum Float FloatDomainError GC Hash IO IOError IndexError Integer Interrupt Kernel LoadError LocalJumpError Marshal MatchData Math Method Module NameError NameError::message NilClass NoMemoryError NoMethodError NotImplementedError Numeric Object ObjectSpace Precision Proc Process Process::GID Process::Status Process::Sys Process::UID Range RangeError Regexp RegexpError RuntimeError ScriptError SecurityError Signal Signal SignalException StandardError StopIteration String Struct Symbol SyntaxError SystemCallError SystemExit SystemStackError Thread ThreadError ThreadGroup Time TrueClass TypeError UnboundMethod ZeroDivisionError fatal