documentation
.HELP!
Ruby 2.2 Core API Documentation
class RubyVM::Env - Ruby 2.2.4 Core API Reference API Reference
Ruby 2.2 Core API
previous page
next page
class RubyVM::Env
::RubyVM::Env
In Files
iseq.c
Parent
Object
previous page
start
next page
Menu
Homepage
Table of contents
Classes/Modules
ArgumentError
Array
::[]
::new
::try_convert
#&
#*
#+
#-
#<<
#<=>
#==
#[]
#[]=
#any?
#assoc
#at
#bsearch
#clear
#collect
#collect!
#combination
#compact
#compact!
#concat
#count
#cycle
#delete
#delete_at
#delete_if
#drop
#drop_while
#each
#each_index
#empty?
#eql?
#fetch
#fill
#find_index
#first
#flatten
#flatten!
#frozen?
#hash
#include?
#index
#initialize_copy
#insert
#inspect
#join
#keep_if
#last
#length
#map
#map!
#pack
#permutation
#pop
#product
#push
#rassoc
#reject
#reject!
#repeated_combination
#repeated_permutation
#replace
#reverse
#reverse!
#reverse_each
#rindex
#rotate
#rotate!
#sample
#select
#select!
#shift
#shuffle
#shuffle!
#size
#slice
#slice!
#sort
#sort!
#sort_by!
#take
#take_while
#to_a
#to_ary
#to_h
#to_s
#transpose
#uniq
#uniq!
#unshift
#values_at
#zip
#|
BasicObject
::new
#!
#!=
#==
#__id__
#__send__
#equal?
#instance_eval
#instance_exec
Bignum
#%
#&
#*
#**
#+
#-
#-@
#/
#<
#<<
#<=
#<=>
#==
#===
#>
#>=
#>>
#[]
#^
#abs
#bit_length
#coerce
#div
#divmod
#eql?
#even?
#fdiv
#hash
#inspect
#magnitude
#modulo
#odd?
#remainder
#size
#to_f
#to_s
#|
#~
Binding
#eval
#local_variable_defined?
#local_variable_get
#local_variable_set
#local_variables
#receiver
Class
::new
#allocate
#new
#superclass
Comparable
#<
#<=
#==
#>
#>=
#between?
Complex
::polar
::rect
::rectangular
#*
#**
#+
#-
#-@
#/
#==
#abs
#abs2
#angle
#arg
#conj
#conjugate
#denominator
#fdiv
#imag
#imaginary
#inspect
#magnitude
#numerator
#phase
#polar
#quo
#rationalize
#real
#real?
#rect
#rectangular
#to_c
#to_f
#to_i
#to_r
#to_s
#~
Complex::compatible
Continuation
#[]
#call
Data
Dir
::[]
::chdir
::chroot
::delete
::entries
::exist?
::exists?
::foreach
::getwd
::glob
::home
::mkdir
::new
::open
::pwd
::rmdir
::unlink
#close
#each
#fileno
#inspect
#path
#pos
#pos=
#read
#rewind
#seek
#tell
#to_path
ENV
::[]
::[]=
::assoc
::clear
::delete
::delete_if
::each
::each_key
::each_pair
::each_value
::empty?
::fetch
::has_key?
::has_value?
::include?
::index
::inspect
::invert
::keep_if
::key
::key?
::keys
::length
::member?
::rassoc
::rehash
::reject
::reject!
::replace
::select
::select!
::shift
::size
::store
::to_a
::to_h
::to_hash
::to_s
::update
::value?
::values
::values_at
EOFError
Encoding
::aliases
::compatible?
::default_external
::default_external=
::default_internal
::default_internal=
::find
::list
::name_list
#ascii_compatible?
#dummy?
#inspect
#name
#names
#replicate
#to_s
Encoding::CompatibilityError
Encoding::Converter
::asciicompat_encoding
::new
::search_convpath
#==
#convert
#convpath
#destination_encoding
#finish
#insert_output
#inspect
#last_error
#primitive_convert
#primitive_errinfo
#putback
#replacement
#replacement=
#source_encoding
Encoding::ConverterNotFoundError
Encoding::InvalidByteSequenceError
#destination_encoding
#destination_encoding_name
#error_bytes
#incomplete_input?
#readagain_bytes
#source_encoding
#source_encoding_name
Encoding::UndefinedConversionError
#destination_encoding
#destination_encoding_name
#error_char
#source_encoding
#source_encoding_name
EncodingError
Enumerable
#all?
#any?
#chunk
#collect
#collect_concat
#count
#cycle
#detect
#drop
#drop_while
#each_cons
#each_entry
#each_slice
#each_with_index
#each_with_object
#entries
#find
#find_all
#find_index
#first
#flat_map
#grep
#group_by
#include?
#inject
#lazy
#map
#max
#max_by
#member?
#min
#min_by
#minmax
#minmax_by
#none?
#one?
#partition
#reduce
#reject
#reverse_each
#select
#slice_after
#slice_before
#slice_when
#sort
#sort_by
#take
#take_while
#to_a
#to_h
#zip
Enumerator
::new
#each
#each_with_index
#each_with_object
#feed
#inspect
#next
#next_values
#peek
#peek_values
#rewind
#size
#with_index
#with_object
Enumerator::Generator
Enumerator::Lazy
::new
#chunk
#collect
#collect_concat
#drop
#drop_while
#enum_for
#find_all
#flat_map
#grep
#lazy
#map
#reject
#select
#slice_after
#slice_before
#slice_when
#take
#take_while
#to_enum
#zip
Enumerator::Yielder
Errno
Exception
::exception
::new
#==
#backtrace
#backtrace_locations
#cause
#exception
#inspect
#message
#set_backtrace
#to_s
FalseClass
#&
#^
#inspect
#to_s
#|
Fiber
::current
::yield
#alive?
#resume
#transfer
FiberError
File
::absolute_path
::atime
::basename
::birthtime
::blockdev?
::chardev?
::chmod
::chown
::ctime
::delete
::directory?
::dirname
::executable?
::executable_real?
::exist?
::exists?
::expand_path
::extname
::file?
::fnmatch
::fnmatch?
::ftype
::grpowned?
::identical?
::join
::lchmod
::lchown
::link
::lstat
::mtime
::new
::open
::owned?
::path
::pipe?
::readable?
::readable_real?
::readlink
::realdirpath
::realpath
::rename
::setgid?
::setuid?
::size
::size?
::socket?
::split
::stat
::sticky?
::symlink
::symlink?
::truncate
::umask
::unlink
::utime
::world_readable?
::world_writable?
::writable?
::writable_real?
::zero?
#atime
#birthtime
#chmod
#chown
#ctime
#flock
#lstat
#mtime
#path
#size
#to_path
#truncate
File::Constants
File::Stat
::new
#<=>
#atime
#birthtime
#blksize
#blockdev?
#blocks
#chardev?
#ctime
#dev
#dev_major
#dev_minor
#directory?
#executable?
#executable_real?
#file?
#ftype
#gid
#grpowned?
#ino
#inspect
#mode
#mtime
#nlink
#owned?
#pipe?
#rdev
#rdev_major
#rdev_minor
#readable?
#readable_real?
#setgid?
#setuid?
#size
#size?
#socket?
#sticky?
#symlink?
#uid
#world_readable?
#world_writable?
#writable?
#writable_real?
#zero?
FileTest
#blockdev?
#chardev?
#directory?
#executable?
#executable_real?
#exist?
#exists?
#file?
#grpowned?
#identical?
#owned?
#pipe?
#readable?
#readable_real?
#setgid?
#setuid?
#size
#size?
#socket?
#sticky?
#symlink?
#world_readable?
#world_writable?
#writable?
#writable_real?
#zero?
Fixnum
#%
#&
#*
#**
#+
#-
#-@
#/
#<
#<<
#<=
#<=>
#==
#===
#>
#>=
#>>
#[]
#^
#abs
#bit_length
#div
#divmod
#even?
#fdiv
#inspect
#magnitude
#modulo
#odd?
#size
#succ
#to_f
#to_s
#zero?
#|
#~
Float
#%
#*
#**
#+
#-
#-@
#/
#<
#<=
#<=>
#==
#===
#>
#>=
#abs
#angle
#arg
#ceil
#coerce
#denominator
#divmod
#eql?
#fdiv
#finite?
#floor
#hash
#infinite?
#inspect
#magnitude
#modulo
#nan?
#next_float
#numerator
#phase
#prev_float
#quo
#rationalize
#round
#to_f
#to_i
#to_int
#to_r
#to_s
#truncate
#zero?
FloatDomainError
GC
::count
::disable
::enable
::latest_gc_info
::malloc_allocated_size
::malloc_allocations
::start
::stat
::stress
::stress=
::verify_internal_consistency
#garbage_collect
GC::Profiler
::clear
::disable
::enable
::enabled?
::raw_data
::report
::result
::total_time
Hash
::[]
::new
::try_convert
#==
#[]
#[]=
#any?
#assoc
#clear
#compare_by_identity
#compare_by_identity?
#default
#default=
#default_proc
#default_proc=
#delete
#delete_if
#each
#each_key
#each_pair
#each_value
#empty?
#eql?
#fetch
#flatten
#has_key?
#has_value?
#hash
#include?
#inspect
#invert
#keep_if
#key
#key?
#keys
#length
#member?
#merge
#merge!
#rassoc
#rehash
#reject
#reject!
#replace
#select
#select!
#shift
#size
#store
#to_a
#to_h
#to_hash
#to_s
#update
#value?
#values
#values_at
IO
::binread
::binwrite
::copy_stream
::for_fd
::foreach
::new
::open
::pipe
::popen
::read
::readlines
::select
::sysopen
::try_convert
::write
#<<
#advise
#autoclose=
#autoclose?
#binmode
#binmode?
#bytes
#chars
#close
#close_on_exec=
#close_on_exec?
#close_read
#close_write
#closed?
#codepoints
#each
#each_byte
#each_char
#each_codepoint
#each_line
#eof
#eof?
#external_encoding
#fcntl
#fdatasync
#fileno
#flush
#fsync
#getbyte
#getc
#gets
#inspect
#internal_encoding
#ioctl
#isatty
#lineno
#lineno=
#lines
#pid
#pos
#pos=
#print
#printf
#putc
#puts
#read
#read_nonblock
#readbyte
#readchar
#readline
#readlines
#readpartial
#reopen
#rewind
#seek
#set_encoding
#stat
#sync
#sync=
#sysread
#sysseek
#syswrite
#tell
#to_i
#to_io
#tty?
#ungetbyte
#ungetc
#write
#write_nonblock
IO::EAGAINWaitReadable
IO::EAGAINWaitWritable
IO::EINPROGRESSWaitReadable
IO::EINPROGRESSWaitWritable
IO::EWOULDBLOCKWaitReadable
IO::EWOULDBLOCKWaitWritable
IO::WaitReadable
IO::WaitWritable
IOError
IndexError
Integer
#ceil
#chr
#denominator
#downto
#even?
#floor
#gcd
#gcdlcm
#integer?
#lcm
#next
#numerator
#odd?
#ord
#pred
#rationalize
#round
#succ
#times
#to_i
#to_int
#to_r
#truncate
#upto
Interrupt
Kernel
#Array
#Complex
#Float
#Hash
#Integer
#Rational
#String
#__callee__
#__dir__
#__method__
#`
#abort
#at_exit
#autoload
#autoload?
#binding
#block_given?
#callcc
#caller
#caller_locations
#catch
#chomp
#chop
#eval
#exec
#exit
#exit!
#fail
#fork
#format
#gets
#global_variables
#gsub
#iterator?
#lambda
#load
#local_variables
#loop
#open
#p
#print
#printf
#proc
#putc
#puts
#raise
#rand
#readline
#readlines
#require
#require_relative
#select
#set_trace_func
#sleep
#spawn
#sprintf
#srand
#sub
#syscall
#system
#test
#throw
#trace_var
#trap
#untrace_var
#warn
KeyError
LoadError
LocalJumpError
#exit_value
#reason
Marshal
::dump
::load
::restore
MatchData
#==
#[]
#begin
#captures
#end
#eql?
#hash
#inspect
#length
#names
#offset
#post_match
#pre_match
#regexp
#size
#string
#to_a
#to_s
#values_at
Math
::acos
::acosh
::asin
::asinh
::atan
::atan2
::atanh
::cbrt
::cos
::cosh
::erf
::erfc
::exp
::frexp
::gamma
::hypot
::ldexp
::lgamma
::log
::log10
::log2
::sin
::sinh
::sqrt
::tan
::tanh
Math::DomainError
Method
#==
#[]
#arity
#call
#clone
#curry
#eql?
#hash
#inspect
#name
#original_name
#owner
#parameters
#receiver
#source_location
#super_method
#to_proc
#to_s
#unbind
Module
::constants
::nesting
::new
#<
#<=
#<=>
#==
#===
#>
#>=
#ancestors
#autoload
#autoload?
#class_eval
#class_exec
#class_variable_defined?
#class_variable_get
#class_variable_set
#class_variables
#const_defined?
#const_get
#const_missing
#const_set
#constants
#freeze
#include
#include?
#included_modules
#inspect
#instance_method
#instance_methods
#method_defined?
#module_eval
#module_exec
#name
#prepend
#private_class_method
#private_constant
#private_instance_methods
#private_method_defined?
#protected_instance_methods
#protected_method_defined?
#public_class_method
#public_constant
#public_instance_method
#public_instance_methods
#public_method_defined?
#remove_class_variable
#singleton_class?
#to_s
Mutex
::new
#lock
#locked?
#owned?
#sleep
#synchronize
#try_lock
#unlock
NameError
::new
#name
NilClass
#&
#^
#inspect
#nil?
#rationalize
#to_a
#to_c
#to_f
#to_h
#to_i
#to_r
#to_s
#|
NoMemoryError
NoMethodError
::new
#args
NotImplementedError
Numeric
#%
#+@
#-@
#<=>
#abs
#abs2
#angle
#arg
#ceil
#coerce
#conj
#conjugate
#denominator
#div
#divmod
#eql?
#fdiv
#floor
#i
#imag
#imaginary
#initialize_copy
#integer?
#magnitude
#modulo
#nonzero?
#numerator
#phase
#polar
#quo
#real
#real?
#rect
#rectangular
#remainder
#round
#singleton_method_added
#step
#to_c
#to_int
#truncate
#zero?
Object
#!~
#<=>
#===
#=~
#class
#clone
#define_singleton_method
#display
#dup
#enum_for
#eql?
#extend
#freeze
#frozen?
#hash
#inspect
#instance_of?
#instance_variable_defined?
#instance_variable_get
#instance_variable_set
#instance_variables
#is_a?
#itself
#kind_of?
#method
#methods
#nil?
#object_id
#private_methods
#protected_methods
#public_method
#public_methods
#public_send
#remove_instance_variable
#respond_to?
#respond_to_missing?
#send
#singleton_class
#singleton_method
#singleton_methods
#taint
#tainted?
#tap
#to_enum
#to_s
#trust
#untaint
#untrust
#untrusted?
ObjectSpace
::_id2ref
::count_objects
::define_finalizer
::each_object
::garbage_collect
::undefine_finalizer
ObjectSpace::WeakMap
#[]
#[]=
#each
#each_key
#each_pair
#each_value
#include?
#inspect
#key?
#keys
#length
#member?
#size
#values
Proc
::new
#===
#[]
#arity
#binding
#call
#curry
#hash
#inspect
#lambda?
#parameters
#source_location
#to_proc
#to_s
#yield
Process
::abort
::argv0
::clock_getres
::clock_gettime
::daemon
::detach
::egid
::egid=
::euid
::euid=
::exec
::exit
::exit!
::fork
::getpgid
::getpgrp
::getpriority
::getrlimit
::getsid
::gid
::gid=
::groups
::groups=
::initgroups
::kill
::maxgroups
::maxgroups=
::pid
::ppid
::setpgid
::setpgrp
::setpriority
::setproctitle
::setrlimit
::setsid
::spawn
::times
::uid
::uid=
::wait
::wait2
::waitall
::waitpid
::waitpid2
Process::GID
::change_privilege
::eid
::from_name
::grant_privilege
::re_exchange
::re_exchangeable?
::rid
::sid_available?
::switch
Process::Status
#&
#==
#>>
#coredump?
#exited?
#exitstatus
#inspect
#pid
#signaled?
#stopped?
#stopsig
#success?
#termsig
#to_i
#to_s
Process::Sys
::getegid
::geteuid
::getgid
::getuid
::issetugid
::setegid
::seteuid
::setgid
::setregid
::setresgid
::setresuid
::setreuid
::setrgid
::setruid
::setuid
Process::UID
::change_privilege
::eid
::from_name
::grant_privilege
::re_exchange
::re_exchangeable?
::rid
::sid_available?
::switch
Process::Waiter
#pid
Random
::new
::new_seed
::rand
::srand
#==
#bytes
#rand
#seed
Range
::new
#==
#===
#begin
#bsearch
#cover?
#each
#end
#eql?
#exclude_end?
#first
#hash
#include?
#inspect
#last
#max
#member?
#min
#size
#step
#to_s
RangeError
Rational
#*
#**
#+
#-
#/
#<=>
#==
#ceil
#denominator
#fdiv
#floor
#inspect
#numerator
#quo
#rationalize
#round
#to_f
#to_i
#to_r
#to_s
#truncate
Rational::compatible
Regexp
::compile
::escape
::last_match
::new
::quote
::try_convert
::union
#==
#===
#=~
#casefold?
#encoding
#eql?
#fixed_encoding?
#hash
#inspect
#match
#named_captures
#names
#options
#source
#to_s
#~
RegexpError
Ripper
::new
#column
#encoding
#end_seen?
#error?
#filename
#lineno
#parse
#yydebug
#yydebug=
RubyVM
::stat
RubyVM::Env
RubyVM::InstructionSequence
::compile
::compile_file
::compile_option
::compile_option=
::disasm
::disassemble
::new
::of
#absolute_path
#base_label
#disasm
#disassemble
#eval
#first_lineno
#inspect
#label
#line_trace_all
#line_trace_specify
#path
#to_a
RuntimeError
ScriptError
SecurityError
Signal
::list
::signame
::trap
SignalException
::new
#signo
StandardError
StopIteration
#result
String
::new
::try_convert
#%
#*
#+
#<<
#<=>
#==
#===
#=~
#[]
#[]=
#ascii_only?
#b
#bytes
#bytesize
#byteslice
#capitalize
#capitalize!
#casecmp
#center
#chars
#chomp
#chomp!
#chop
#chop!
#chr
#clear
#codepoints
#concat
#count
#crypt
#delete
#delete!
#downcase
#downcase!
#dump
#each_byte
#each_char
#each_codepoint
#each_line
#empty?
#encode
#encode!
#encoding
#end_with?
#eql?
#force_encoding
#getbyte
#gsub
#gsub!
#hash
#hex
#include?
#index
#initialize_copy
#insert
#inspect
#intern
#length
#lines
#ljust
#lstrip
#lstrip!
#match
#next
#next!
#oct
#ord
#partition
#prepend
#replace
#reverse
#reverse!
#rindex
#rjust
#rpartition
#rstrip
#rstrip!
#scan
#scrub
#scrub!
#setbyte
#size
#slice
#slice!
#split
#squeeze
#squeeze!
#start_with?
#strip
#strip!
#sub
#sub!
#succ
#succ!
#sum
#swapcase
#swapcase!
#to_c
#to_f
#to_i
#to_r
#to_s
#to_str
#to_sym
#tr
#tr!
#tr_s
#tr_s!
#unpack
#upcase
#upcase!
#upto
#valid_encoding?
Struct
::new
#==
#[]
#[]=
#each
#each_pair
#eql?
#hash
#inspect
#length
#members
#select
#size
#to_a
#to_h
#to_s
#values
#values_at
Symbol
::all_symbols
#<=>
#==
#===
#=~
#[]
#capitalize
#casecmp
#downcase
#empty?
#encoding
#id2name
#inspect
#intern
#length
#match
#next
#size
#slice
#succ
#swapcase
#to_proc
#to_s
#to_sym
#upcase
SyntaxError
SystemCallError
::===
::new
#errno
SystemExit
::new
#status
#success?
SystemStackError
Thread
::DEBUG
::DEBUG=
::abort_on_exception
::abort_on_exception=
::current
::exit
::fork
::handle_interrupt
::kill
::list
::main
::new
::pass
::pending_interrupt?
::start
::stop
#[]
#[]=
#abort_on_exception
#abort_on_exception=
#add_trace_func
#alive?
#backtrace
#backtrace_locations
#exit
#group
#inspect
#join
#key?
#keys
#kill
#pending_interrupt?
#priority
#priority=
#raise
#run
#safe_level
#set_trace_func
#status
#stop?
#terminate
#thread_variable?
#thread_variable_get
#thread_variable_set
#thread_variables
#value
#wakeup
ThreadError
ThreadGroup
#add
#enclose
#enclosed?
#list
Time
::at
::gm
::local
::mktime
::new
::now
::utc
#+
#-
#<=>
#asctime
#ctime
#day
#dst?
#eql?
#friday?
#getgm
#getlocal
#getutc
#gmt?
#gmt_offset
#gmtime
#gmtoff
#hash
#hour
#inspect
#isdst
#localtime
#mday
#min
#mon
#monday?
#month
#nsec
#round
#saturday?
#sec
#strftime
#subsec
#succ
#sunday?
#thursday?
#to_a
#to_f
#to_i
#to_r
#to_s
#tuesday?
#tv_nsec
#tv_sec
#tv_usec
#usec
#utc
#utc?
#utc_offset
#wday
#wednesday?
#yday
#year
#zone
TracePoint
::new
::stat
::trace
#binding
#defined_class
#disable
#enable
#enabled?
#event
#inspect
#lineno
#method_id
#path
#raised_exception
#return_value
#self
TrueClass
#&
#^
#inspect
#to_s
#|
TypeError
UnboundMethod
#==
#arity
#bind
#clone
#eql?
#hash
#inspect
#name
#original_name
#owner
#parameters
#source_location
#super_method
#to_s
UncaughtThrowError
::new
#tag
#to_s
#value
ZeroDivisionError
fatal
Files
Get in touch
Submit feedback about this site to:
[email protected]