別のキーワード
クラス
-
ARGF
. class (300) - Array (2154)
- BasicObject (168)
- Binding (77)
- Class (64)
- Complex (444)
- Data (33)
- Dir (176)
- Encoding (84)
-
Encoding
:: Converter (192) -
Encoding
:: InvalidByteSequenceError (24) -
Encoding
:: UndefinedConversionError (12) - Enumerator (187)
-
Enumerator
:: Lazy (386) -
Enumerator
:: Yielder (30) - Exception (128)
- FalseClass (60)
- Fiber (38)
- File (132)
-
File
:: Stat (504) - Float (519)
- FrozenError (6)
- Hash (1116)
- IO (640)
- Integer (806)
- MatchData (286)
- Method (271)
- Module (1023)
- Mutex (10)
- NilClass (163)
- Numeric (563)
- Object (777)
-
ObjectSpace
:: WeakMap (12) - Proc (188)
- Random (96)
- Range (428)
- Rational (309)
- Refinement (4)
- Regexp (201)
-
RubyVM
:: AbstractSyntaxTree :: Node (49) -
RubyVM
:: InstructionSequence (130) - Set (132)
- SignalException (24)
- String (2106)
- Struct (283)
- Symbol (71)
- Thread (247)
-
Thread
:: Backtrace :: Location (84) -
Thread
:: ConditionVariable (20) -
Thread
:: Mutex (50) -
Thread
:: Queue (90) -
Thread
:: SizedQueue (60) - ThreadGroup (24)
- Time (663)
- TracePoint (201)
- TrueClass (60)
- UnboundMethod (156)
- UncaughtThrowError (33)
モジュール
- Comparable (87)
- Enumerable (1424)
- GC (12)
キーワード
- ! (12)
- != (12)
- !~ (12)
- % (62)
- & (63)
- * (84)
- ** (48)
- + (94)
- +@ (22)
- - (87)
- -@ (55)
-
/ (47) - < (58)
- << (65)
- <= (58)
- <=> (138)
- == (222)
- === (107)
- =~ (40)
- > (58)
- >= (58)
- >> (26)
- [] (240)
- []= (156)
- ^ (51)
-
_ _ id _ _ (12) -
_ _ send _ _ (24) -
_ dump (12) -
_ load (12) -
abort
_ on _ exception (12) -
abort
_ on _ exception= (12) - abs (57)
- abs2 (24)
-
absolute
_ path (24) - add (15)
- add? (3)
-
add
_ trace _ func (12) - advise (12)
-
alias
_ method (12) - alive? (4)
- all? (53)
- allbits? (8)
- allocate (12)
- ancestors (12)
- angle (36)
- any? (62)
- anybits? (8)
- append (8)
-
append
_ features (12) - arg (36)
- argv (12)
- arity (36)
-
ascii
_ compatible? (12) - asctime (12)
- assoc (24)
- at (12)
- atime (24)
- attr (36)
-
attr
_ accessor (12) -
attr
_ reader (12) -
attr
_ writer (12) - autoclose? (12)
- autoload (12)
- autoload? (12)
- b (12)
- backtrace (24)
-
backtrace
_ locations (36) -
base
_ label (24) - begin (24)
- between? (12)
- bind (12)
-
bind
_ call (12) - binding (24)
- binmode (24)
- birthtime (12)
-
bit
_ length (12) - blksize (12)
- blockdev? (12)
- blocks (12)
- broadcast (10)
- bsearch (48)
-
bsearch
_ index (20) - byteindex (3)
- byteoffset (6)
- byterindex (3)
- bytes (36)
- bytesize (12)
- byteslice (36)
- call (36)
-
callee
_ id (12) - capitalize (12)
- capitalize! (12)
- captures (12)
- casecmp (24)
- casecmp? (18)
- casefold? (12)
- cause (12)
- ceil (54)
- ceildiv (3)
- center (12)
- chain (7)
- chardev? (12)
- chars (24)
- children (14)
- chmod (12)
- chomp (12)
- chomp! (12)
- chop (12)
- chop! (12)
- chown (12)
- chr (36)
- chunk (36)
-
chunk
_ while (12) - clamp (15)
- class (12)
-
class
_ eval (24) -
class
_ exec (12) -
class
_ variable _ defined? (12) -
class
_ variable _ get (12) -
class
_ variable _ set (12) -
class
_ variables (12) - classify (3)
- clear (49)
- clone (75)
- close (46)
-
close
_ read (12) -
close
_ write (12) - closed? (34)
- codepoints (24)
- coerce (36)
- collect (60)
- collect! (27)
-
collect
_ concat (36) - combination (24)
- compact (25)
- compact! (21)
-
compare
_ by _ identity (12) -
compare
_ by _ identity? (12) - concat (42)
- conj (24)
- conjugate (24)
-
const
_ added (3) -
const
_ defined? (12) -
const
_ get (12) -
const
_ missing (12) -
const
_ set (12) -
const
_ source _ location (12) - constants (12)
- convert (12)
- convpath (12)
- count (84)
- cover? (19)
- crypt (12)
- ctime (36)
- curry (46)
- cycle (48)
- day (12)
- deconstruct (11)
-
deconstruct
_ keys (13) - dedup (3)
- default (24)
- default= (12)
-
default
_ proc (12) -
default
_ proc= (12) -
define
_ method (24) -
define
_ singleton _ method (24) -
defined
_ class (12) - delete (63)
- delete! (12)
- delete? (3)
-
delete
_ at (12) -
delete
_ if (51) -
delete
_ prefix (8) -
delete
_ prefix! (8) -
delete
_ suffix (8) -
delete
_ suffix! (8) - denominator (48)
-
deprecate
_ constant (12) - deq (20)
-
destination
_ encoding (12) - detect (24)
- dev (12)
-
dev
_ major (12) -
dev
_ minor (12) - difference (10)
- dig (30)
- digits (24)
- directory? (12)
- disable (24)
- disasm (12)
- disassemble (12)
- disjoint? (3)
- display (12)
- div (24)
- divide (6)
- divmod (24)
- downcase (12)
- downcase! (12)
- downto (24)
- drop (36)
-
drop
_ while (60) - dst? (12)
- dummy? (12)
- dump (12)
- dup (51)
- each (243)
-
each
_ byte (48) -
each
_ char (48) -
each
_ child (14) -
each
_ codepoint (72) -
each
_ cons (24) -
each
_ entry (24) -
each
_ grapheme _ cluster (16) -
each
_ index (24) -
each
_ key (24) -
each
_ line (96) -
each
_ pair (48) -
each
_ slice (24) -
each
_ value (24) -
each
_ with _ index (24) -
each
_ with _ object (24) - eager (6)
- empty? (49)
- enable (24)
- encode (36)
- encode! (24)
- encoding (12)
- end (24)
-
end
_ with? (18) - entries (19)
-
enum
_ for (48) - eof (12)
- eof? (12)
- eql? (159)
- equal? (36)
-
error
_ bytes (12) -
error
_ char (12) - eval (24)
-
eval
_ script (7) - even? (12)
- event (12)
- except (4)
- exception (24)
-
exclude
_ end? (12) - executable? (12)
-
executable
_ real? (12) - extend (12)
-
extend
_ object (12) - extended (12)
-
external
_ encoding (12) - fcntl (12)
- fdatasync (12)
- fdiv (36)
- feed (12)
- fetch (80)
-
fetch
_ values (20) - file (12)
- file? (12)
- filename (12)
- fileno (23)
- fill (72)
- filter (63)
- filter! (28)
-
filter
_ map (18) - find (24)
-
find
_ all (36) -
find
_ index (72) - finish (12)
- finite? (30)
- first (72)
-
first
_ column (7) -
first
_ lineno (19) -
fixed
_ encoding? (12) -
flat
_ map (36) - flatten (27)
- flatten! (15)
- flock (12)
- floor (54)
- flush (12)
- force (12)
-
force
_ encoding (12) - freeze (24)
- friday? (12)
- frozen? (12)
- ftype (12)
-
garbage
_ collect (12) - gcd (12)
- gcdlcm (12)
- getbyte (24)
- getc (12)
- getgm (12)
- getlocal (24)
- gets (36)
- getutc (12)
- gid (12)
- gmt? (12)
-
gmt
_ offset (12) - gmtime (12)
- gmtoff (12)
-
grapheme
_ clusters (16) - grep (36)
-
grep
_ v (34) -
group
_ by (24) - grpowned? (12)
- gsub (48)
- gsub! (48)
-
has
_ key? (12) -
has
_ value? (12) - hash (123)
- hex (12)
- hour (12)
- i (12)
-
ignore
_ deadlock= (4) - imag (24)
- imaginary (24)
-
import
_ methods (4) - include (12)
- include? (75)
- included (12)
-
included
_ modules (12) -
incomplete
_ input? (12) - index (55)
- infinite? (30)
- inherited (12)
- initialize (12)
-
initialize
_ copy (12) - inject (36)
- ino (12)
-
inplace
_ mode (12) -
inplace
_ mode= (12) - insert (24)
-
insert
_ output (12) - inspect (319)
-
instance
_ eval (24) -
instance
_ exec (12) -
instance
_ method (12) -
instance
_ methods (12) -
instance
_ of? (12) -
instance
_ variable _ defined? (12) -
instance
_ variable _ get (12) -
instance
_ variable _ set (12) -
instance
_ variables (12) -
instruction
_ sequence (7) - integer? (24)
- intern (12)
-
internal
_ encoding (24) - intersect? (4)
- intersection (9)
- invert (12)
-
is
_ a? (12) - isatty (12)
- isdst (12)
- itself (12)
- join (12)
-
keep
_ if (48) - key (12)
- key? (24)
- keys (12)
-
kind
_ of? (12) - label (24)
- lambda? (12)
- last (48)
-
last
_ column (7) -
last
_ error (12) -
last
_ lineno (7) - lazy (24)
- lcm (12)
- length (73)
- lineno (24)
- lines (24)
- list (12)
- ljust (12)
-
local
_ variable _ defined? (12) -
local
_ variable _ get (12) -
local
_ variable _ set (12) -
local
_ variables (11) - localtime (24)
- locked? (12)
- lstat (12)
- lstrip (12)
- lstrip! (12)
- magnitude (57)
- map (60)
- map! (27)
-
marshal
_ dump (24) -
marshal
_ load (24) - match (48)
- match? (27)
- max (140)
- max= (10)
-
max
_ by (48) - mday (12)
- member? (39)
- members (15)
- merge (27)
- merge! (24)
- method (12)
-
method
_ added (12) -
method
_ defined? (12) -
method
_ id (12) -
method
_ missing (12) -
method
_ removed (12) -
method
_ undefined (12) - methods (12)
- min (142)
-
min
_ by (48) - minmax (48)
-
minmax
_ by (24) - mode (12)
-
module
_ eval (24) -
module
_ exec (12) -
module
_ function (36) - modulo (36)
- mon (12)
- monday? (12)
- month (12)
- mtime (24)
- name (53)
- name= (10)
-
named
_ captures (24) - names (36)
- nan? (12)
- negative? (29)
- new (12)
- next (36)
- next! (12)
-
next
_ float (11) -
next
_ values (12) - nil? (12)
- nlink (12)
- nobits? (8)
- none? (53)
- nonzero? (12)
- nsec (12)
-
num
_ waiting (10) - numerator (48)
-
object
_ id (12) - oct (12)
- odd? (12)
- offset (24)
- one? (53)
- ord (24)
-
original
_ name (24) - overlap? (2)
- owned? (24)
- owner (24)
- pack (21)
- parameters (31)
- partition (36)
- path (75)
- peek (12)
-
peek
_ values (12) - permutation (24)
- phase (36)
- pid (12)
- pipe? (12)
- polar (24)
- pop (44)
- pos (24)
- pos= (24)
- positive? (29)
-
post
_ match (12) - pow (24)
-
pre
_ match (12) - pread (8)
- pred (12)
- prepend (41)
-
prepend
_ features (12) - prepended (12)
-
prev
_ float (11) -
primitive
_ convert (48) -
primitive
_ errinfo (12) - print (12)
- priority (12)
- priority= (12)
- private (48)
-
private
_ class _ method (24) -
private
_ constant (12) -
private
_ instance _ methods (12) -
private
_ method _ defined? (12) - product (24)
-
proper
_ subset? (3) -
proper
_ superset? (3) -
protected
_ method _ defined? (12) - public (48)
-
public
_ class _ method (24) -
public
_ constant (12) -
public
_ instance _ method (12) -
public
_ method (12) -
public
_ method _ defined? (12) -
public
_ send (24) - push (12)
- putback (24)
- putc (12)
- pwrite (8)
- quo (36)
- raise (18)
-
raised
_ exception (12) - rand (36)
- rassoc (24)
- rationalize (108)
- rdev (12)
-
rdev
_ major (12) -
rdev
_ minor (12) - read (24)
- readable? (12)
-
readable
_ real? (12) - readbyte (24)
- readchar (12)
- readlines (36)
- real (24)
- real? (24)
- receiver (29)
- rect (24)
- rectangular (24)
- reduce (36)
- refine (12)
- regexp (12)
- rehash (12)
- reject (84)
- reject! (51)
- remainder (24)
-
remove
_ class _ variable (12) -
remove
_ const (12) -
remove
_ instance _ variable (12) -
remove
_ method (12) - reopen (36)
-
repeated
_ combination (24) -
repeated
_ permutation (24) - replace (39)
- replacement (12)
- replacement= (12)
- replicate (12)
-
report
_ on _ exception (9) -
report
_ on _ exception= (9) -
respond
_ to? (12) -
respond
_ to _ missing? (12) - resume (12)
-
return
_ value (12) - reverse (24)
- reverse! (24)
-
reverse
_ each (52) - rewind (24)
- rindex (48)
- rjust (12)
- rotate (12)
- rotate! (12)
- round (69)
- rpartition (12)
- rstrip (12)
- rstrip! (12)
-
ruby2
_ keywords (18) - run (12)
-
safe
_ level (7) - sample (48)
- saturday? (12)
- scan (24)
- scrub (36)
- scrub! (36)
- sec (12)
- seed (12)
- seek (12)
- select (108)
- select! (48)
- self (12)
- send (24)
-
set
_ backtrace (12) -
set
_ encoding _ by _ bom (6) -
set
_ trace _ func (12) - setbyte (12)
- setgid? (12)
- setuid? (12)
- shift (56)
- shuffle (24)
- shuffle! (24)
- signal (10)
- signm (12)
- signo (12)
-
singleton
_ class (12) -
singleton
_ class? (12) -
singleton
_ method (12) -
singleton
_ method _ added (12) -
singleton
_ method _ removed (12) -
singleton
_ method _ undefined (12) -
singleton
_ methods (12) - size (133)
- size? (12)
- skip (12)
- sleep (12)
- slice (116)
- slice! (108)
-
slice
_ after (46) -
slice
_ before (60) -
slice
_ when (23) - socket? (12)
- sort (48)
- sort! (24)
-
sort
_ by (24) -
sort
_ by! (24) - source (12)
-
source
_ encoding (12) -
source
_ location (43) - split (19)
- squeeze (12)
- squeeze! (12)
-
start
_ with? (18) - stat (12)
- step (124)
- sticky? (12)
- stop? (12)
- store (12)
- strftime (12)
- string (12)
- strip (12)
- strip! (12)
- sub (36)
- sub! (36)
- subclasses (4)
- subsec (12)
- subset? (3)
- subtract (3)
- succ (31)
- succ! (12)
- sum (54)
- sunday? (12)
-
super
_ method (11) - superclass (12)
- superset? (3)
- swapcase (12)
- swapcase! (12)
- symlink? (12)
- sync (12)
- synchronize (12)
- syswrite (12)
- tag (11)
- taint (9)
- tainted? (9)
- take (36)
-
take
_ while (72) - tally (10)
- tap (12)
- tell (24)
- then (14)
-
thread
_ variable _ set (12) - thursday? (12)
- times (24)
-
to
_ a (118) -
to
_ ary (24) -
to
_ binary (10) -
to
_ c (48) -
to
_ enum (48) -
to
_ f (84) -
to
_ h (94) -
to
_ hash (24) -
to
_ i (96) -
to
_ int (36) -
to
_ path (27) -
to
_ proc (64) -
to
_ r (84) -
to
_ regexp (12) -
to
_ s (301) -
to
_ set (6) -
to
_ str (24) -
to
_ sym (12) - tr (12)
-
tr
_ s (12) -
tr
_ s! (12) - transfer (4)
-
transform
_ keys (20) -
transform
_ keys! (20) -
transform
_ values (18) -
transform
_ values! (18) - transpose (12)
- truncate (60)
- trust (9)
-
try
_ lock (12) - tty? (12)
- tuesday? (12)
-
tv
_ nsec (12) -
tv
_ sec (12) -
tv
_ usec (12) - type (7)
- uid (12)
- unbind (12)
-
undef
_ method (12) - undump (8)
-
unicode
_ normalize (11) -
unicode
_ normalize! (11) -
unicode
_ normalized? (11) - union (10)
- uniq (48)
- uniq! (24)
- unpack (12)
- unpack1 (9)
- unshift (12)
- untaint (9)
- untrust (9)
- untrusted? (9)
- upcase (12)
- upcase! (12)
- update (24)
- upto (36)
- usec (12)
- using (12)
- utc (12)
- utc? (12)
-
utc
_ offset (12) -
valid
_ encoding? (12) - value (11)
- value? (12)
- values (24)
-
values
_ at (48) - wakeup (12)
- wday (12)
- wednesday? (12)
- with (3)
-
with
_ index (36) -
with
_ object (24) -
world
_ readable? (12) -
world
_ writable? (12) - writable? (12)
-
writable
_ real? (12) - write (12)
- yday (12)
- year (12)
- yield (24)
-
yield
_ self (16) - zero? (36)
- zip (72)
- zone (12)
- | (63)
- ~ (24)
検索結果
先頭5件
-
Module
# ruby2 _ keywords(method _ name , . . . ) -> nil (6134.0) -
For the given method names, marks the method as passing keywords through a normal argument splat. This should only be called on methods that accept an argument splat (`*args`) but not explicit keywords or a keyword splat. It marks the method such that if the method is called with keyword arguments, the final hash argument is marked with a special flag such that if it is the final element of a normal argument splat to another method call, and that method call does not include explicit keywords or a keyword splat, the final element is interpreted as keywords. In other words, keywords will be passed through the method to other methods.
...ate keywords to another
method, and only for backwards compatibility with Ruby versions before
2.7.
This method will probably be removed at some point, as it exists only
for backwards compatibility. As it does not exist in Ruby versions
before 2.7, check that the module responds to this method befo......aware that if this method is removed, the behavior of the
method will change so that it does not pass through keywords.
//emlist[例][ruby]{
module Mod
def foo(meth, *args, &block)
send(:"do_#{meth}", *args, &block)
end
ruby2_keywords(:foo) if respond_to?(:ruby2_keywords, true)
end
//}... -
Proc
# ruby2 _ keywords -> proc (6134.0) -
Marks the proc as passing keywords through a normal argument splat. This should only be called on procs that accept an argument splat (`*args`) but not explicit keywords or a keyword splat. It marks the proc such that if the proc is called with keyword arguments, the final hash argument is marked with a special flag such that if it is the final element of a normal argument splat to another method call, and that method call does not include explicit keywords or a keyword splat, the final element is interpreted as keywords. In other words, keywords will be passed through the proc to other methods.
...ate keywords to another
method, and only for backwards compatibility with Ruby versions before
2.7.
This method will probably be removed at some point, as it exists only
for backwards compatibility. As it does not exist in Ruby versions
before 2.7, check that the proc responds to this method before......so, be aware that if this method is removed, the behavior of the
proc will change so that it does not pass through keywords.
//emlist[][ruby]{
module Mod
foo = ->(meth, *args, &block) do
send(:"do_#{meth}", *args, &block)
end
foo.ruby2_keywords if foo.respond_to?(:ruby2_keywords)
end
//}... -
RubyVM
:: InstructionSequence # to _ a -> Array (3015.0) -
self の情報を 14 要素の配列にして返します。
...命令シーケンスを構成する命令とオペランドの配列の配列。
//emlist[例][ruby]{
require 'pp'
iseq = RubyVM::InstructionSequence.compile('num = 1 + 2')
pp iseq.to_a
# ※ Ruby 2.5.0 での実行結果
# => ["YARVInstructionSequence/SimpleDataFormat",
# 2,
# 0,
# 1,
# {:arg_... -
RubyVM
:: InstructionSequence # to _ binary(extra _ data = nil) -> String (3015.0) -
バイナリフォーマットでシリアライズされたiseqのデータを文字列として返します。 RubyVM::InstructionSequence.load_from_binary メソッドでバイナリデータに対応するiseqオブジェクトを作れます。
...タを文字列として返します。
RubyVM::InstructionSequence.load_from_binary メソッドでバイナリデータに対応するiseqオブジェクトを作れます。
引数の extra_data はバイナリデータと共に保存されます。
RubyVM::InstructionSequence.load_from_binary_e......は他のマシンに移動できません。他のバージョンや他のアーキテクチャのRubyで作られたバイナリデータは使用できません。
//emlist[例][ruby]{
iseq = RubyVM::InstructionSequence.compile('num = 1 + 2')
iseq.to_binary("extra_data")
# ※表示の都合上......0\x00numE\x7F\x00\x00\x02\x00\x00\x00\x00
# \x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00+\xA0\x01\x00\x00\xAC\x01\x00
# \x00\xCA\x01\x00\x00\xD6\x01\x00\x00\xED\x01\x00\x00extra_data"
//}
@see RubyVM::InstructionSequence.load_from_binary
@see RubyVM::InstructionSequence.load_from_binary_extra_data... -
RubyVM
:: AbstractSyntaxTree :: Node # children -> Array (3009.0) -
self の子ノードを配列で返します。
...type によって異なります。
戻り値は、ほかの RubyVM::AbstractSyntaxTree::Node のインスタンスや nil を含みます。
//emlist[][ruby]{
node = RubyVM::AbstractSyntaxTree.parse('1 + 2')
p node.children
# => [[], nil, #<RubyVM::AbstractSyntaxTree::Node:OPCALL@1:0-1:5>]
//}... -
RubyVM
:: AbstractSyntaxTree :: Node # first _ column -> Integer (3009.0) -
ソースコード中で、self を表すテキストが最初に現れる列番号を返します。
...ソースコード中で、self を表すテキストが最初に現れる列番号を返します。
列番号は0-originで、バイト単位で表されます。
//emlist[][ruby]{
node = RubyVM::AbstractSyntaxTree.parse('1 + 2')
p node.first_column # => 0
//}... -
RubyVM
:: AbstractSyntaxTree :: Node # first _ lineno -> Integer (3009.0) -
ソースコード中で、self を表すテキストが最初に現れる行番号を返します。
...ソースコード中で、self を表すテキストが最初に現れる行番号を返します。
行番号は1-originです。
//emlist[][ruby]{
node = RubyVM::AbstractSyntaxTree.parse('1 + 2')
p node.first_lineno # => 1
//}... -
RubyVM
:: AbstractSyntaxTree :: Node # inspect -> String (3009.0) -
self のデバッグ用の情報を含んだ文字列を返します。
...self のデバッグ用の情報を含んだ文字列を返します。
//emlist[][ruby]{
node = RubyVM::AbstractSyntaxTree.parse('1 + 1')
puts node.inspect
# => #<RubyVM::AbstractSyntaxTree::Node:SCOPE@1:0-1:5>
//}... -
RubyVM
:: AbstractSyntaxTree :: Node # last _ column -> Integer (3009.0) -
ソースコード中で、self を表すテキストが最後に現れる列番号を返します。
...ソースコード中で、self を表すテキストが最後に現れる列番号を返します。
列番号は0-originで、バイト単位で表されます。
//emlist[][ruby]{
node = RubyVM::AbstractSyntaxTree.parse('1 + 1')
p node.last_column # => 5
//}... -
RubyVM
:: AbstractSyntaxTree :: Node # last _ lineno -> Integer (3009.0) -
ソースコード中で、self を表すテキストが最後に現れる行番号を返します。
...ソースコード中で、self を表すテキストが最後に現れる行番号を返します。
行番号は1-originです。
//emlist[][ruby]{
node = RubyVM::AbstractSyntaxTree.parse('1 + 1')
p node.last_lineno # => 1
//}... -
RubyVM
:: AbstractSyntaxTree :: Node # type -> Symbol (3009.0) -
self の種類を Symbol で返します。
...self の種類を Symbol で返します。
//emlist[][ruby]{
node = RubyVM::AbstractSyntaxTree.parse('1 + 1')
p node.type # => :SCOPE
//}... -
RubyVM
:: InstructionSequence # inspect -> String (3009.0) -
self の情報をラベルとパスを含んだ人間に読みやすい文字列にして返します。
...んだ人間に読みやすい文字列にして返します。
//emlist[例][ruby]{
iseq = RubyVM::InstructionSequence.compile('num = 1 + 2')
iseq.inspect # => "<RubyVM::InstructionSequence:<compiled>@<compiled>>"
//}
@see RubyVM::InstructionSequence#label,
RubyVM::InstructionSequence#path...