6837件ヒット
[1-100件を表示]
(0.095秒)
別のキーワード
ライブラリ
- ビルトイン (3870)
- bigdecimal (72)
-
cgi
/ core (12) - csv (102)
- date (4)
- digest (72)
- erb (24)
- fiber (8)
- fiddle (12)
-
fiddle
/ import (12) - json (108)
-
json
/ add / bigdecimal (12) -
json
/ add / complex (12) -
json
/ add / date (12) -
json
/ add / date _ time (12) -
json
/ add / exception (12) -
json
/ add / range (12) -
json
/ add / rational (12) -
json
/ add / regexp (12) -
json
/ add / struct (12) -
json
/ add / time (12) - logger (204)
- matrix (569)
- mkmf (24)
- monitor (2)
-
net
/ http (156) - openssl (24)
- optparse (300)
- pathname (75)
- psych (48)
-
rexml
/ document (264) -
rexml
/ streamlistener (12) -
rubygems
/ installer (12) -
rubygems
/ requirement (12) - set (9)
- stringio (292)
- strscan (300)
- tsort (58)
- uri (36)
- win32ole (24)
クラス
-
ARGF
. class (84) - Array (57)
- BigDecimal (84)
- CGI (12)
- CSV (48)
-
CSV
:: Row (6) -
CSV
:: Table (24) - Class (12)
- Complex (12)
- Data (6)
- Date (14)
- DateTime (14)
-
Digest
:: Base (72) - Dir (19)
- ERB (24)
-
Encoding
:: Converter (84) -
Encoding
:: InvalidByteSequenceError (12) - Exception (56)
- Fiber (18)
-
Fiddle
:: Function (12) - File (28)
- Float (36)
-
Gem
:: Installer (12) -
Gem
:: Requirement (12) - Hash (76)
- IO (76)
- Integer (60)
- Logger (204)
- MatchData (112)
- Matrix (545)
-
Matrix
:: LUPDecomposition (12) - Method (36)
- Module (288)
- Monitor (2)
-
Net
:: HTTPGenericRequest (36) -
Net
:: HTTPResponse (24) - Numeric (12)
- Object (99)
-
OpenSSL
:: BN (24) - OptionParser (252)
- Pathname (75)
- Proc (12)
-
Psych
:: ScalarScanner (12) -
Psych
:: Stream (24) -
Psych
:: Visitors :: YAMLTree (12) -
REXML
:: Attribute (12) -
REXML
:: Attributes (60) -
REXML
:: CData (24) -
REXML
:: DocType (36) -
REXML
:: Element (96) -
REXML
:: Entity (12) -
REXML
:: Text (24) - Random (12)
- Range (50)
- Rational (48)
- Regexp (93)
-
RubyVM
:: AbstractSyntaxTree :: Node (14) -
RubyVM
:: InstructionSequence (94) - Set (12)
- String (1875)
- StringIO (292)
- StringScanner (300)
- Struct (132)
- Symbol (5)
- Thread (58)
-
Thread
:: Backtrace :: Location (72) - Time (26)
- TracePoint (177)
- TrueClass (36)
-
URI
:: MailTo (36) - UnboundMethod (36)
- Vector (12)
-
WIN32OLE
_ TYPE (12) -
WIN32OLE
_ TYPELIB (12)
モジュール
- Enumerable (48)
-
Fiddle
:: Importer (12) - GC (12)
-
JSON
:: Generator :: GeneratorMethods :: Array (12) -
JSON
:: Generator :: GeneratorMethods :: FalseClass (12) -
JSON
:: Generator :: GeneratorMethods :: Float (12) -
JSON
:: Generator :: GeneratorMethods :: Hash (12) -
JSON
:: Generator :: GeneratorMethods :: Integer (12) -
JSON
:: Generator :: GeneratorMethods :: NilClass (12) -
JSON
:: Generator :: GeneratorMethods :: Object (12) -
JSON
:: Generator :: GeneratorMethods :: String (12) -
JSON
:: Generator :: GeneratorMethods :: TrueClass (12) - Kernel (24)
-
Net
:: HTTPHeader (96) -
OptionParser
:: Arguable (48) -
REXML
:: StreamListener (12) - TSort (58)
キーワード
- % (12)
- & (12)
- * (36)
- + (12)
- +@ (10)
- -@ (10)
- << (24)
- <=> (12)
- == (36)
- === (24)
- =~ (24)
- [] (204)
- []= (91)
- ^ (12)
-
_ dump (24) -
_ load (12) -
absolute
_ path (24) - accept (12)
- add (24)
-
add
_ attribute (24) -
add
_ attributes (12) -
add
_ element (12) -
add
_ trace _ func (12) - adjugate (12)
- antisymmetric? (7)
-
append
_ as _ bytes (1) -
arg
_ config (12) - attr (36)
-
attr
_ accessor (12) -
attr
_ reader (12) -
attr
_ writer (12) - attribute (12)
-
attribute
_ of (12) - autoload? (12)
- backtrace (12)
-
backtrace
_ locations (36) -
base
_ label (24) -
basic
_ auth (12) - binread (12)
- body (12)
-
body
_ stream (12) -
body
_ stream= (12) - byteindex (3)
- byterindex (3)
- bytes (50)
- bytesize (12)
- byteslice (36)
- call (12)
-
callee
_ id (12) - capitalize (12)
- capitalize! (12)
- captures (12)
- casecmp (12)
- casecmp? (9)
- center (12)
- charpos (12)
- chars (24)
- check (12)
-
check
_ until (12) - children (26)
- chomp (12)
- chomp! (12)
- chop (12)
- chop! (12)
- chr (36)
-
class
_ variables (12) - clear (12)
- codepoints (24)
- coerce (12)
-
cofactor
_ expansion (12) -
col
_ sep (12) - collect (24)
- collect! (14)
- column (24)
- component (12)
- concat (33)
-
const
_ defined? (12) -
const
_ get (12) -
const
_ source _ location (12) - constants (12)
- convert (12)
- count (12)
-
create
_ makefile (12) - crypt (12)
-
datetime
_ format (12) - debug (24)
- deconstruct (14)
-
deconstruct
_ keys (20) - dedup (3)
-
default
_ argv (12) -
defined
_ class (12) - delete (36)
- delete! (12)
-
delete
_ all (12) -
delete
_ attribute (12) -
delete
_ prefix (8) -
delete
_ prefix! (8) -
delete
_ suffix (8) -
delete
_ suffix! (8) - det (12)
- determinant (12)
- dig (10)
- digest (12)
- digest! (12)
- disable (24)
- disasm (12)
- disassemble (12)
- downcase (12)
- downcase! (12)
- dump (8)
- each (48)
-
each
_ byte (48) -
each
_ char (24) -
each
_ child (24) -
each
_ codepoint (24) -
each
_ element _ with _ attribute (12) -
each
_ entry (39) -
each
_ grapheme _ cluster (16) -
each
_ line (48) -
each
_ strongly _ connected _ component (23) -
each
_ strongly _ connected _ component _ from (23) -
each
_ with _ index (24) - eigen (12)
- eigensystem (12)
- element (12)
- enable (24)
- encode (36)
- encode! (24)
- encoding (12)
-
end
_ with? (12) - entity (12)
- entitydecl (12)
- entries (31)
-
entrywise
_ product (8) - environment (12)
- eql? (24)
- error (24)
-
error
_ bytes (12) -
eval
_ script (7) - event (12)
- exist? (12)
- fatal (24)
- fetch (36)
- filter (14)
-
find
_ index (36) - finish (12)
-
force
_ encoding (12) -
formatted
_ program _ filename (12) -
garbage
_ collect (12) -
get
_ attribute (12) -
get
_ attribute _ ns (12) -
get
_ fields (12) - getbyte (24)
- getc (24)
- gets (48)
-
grapheme
_ clusters (16) - gsub (48)
- gsub! (48)
-
hadamard
_ product (8) - hash (12)
- header (12)
- headers (24)
- helpfile (12)
- hex (12)
- hexdigest (12)
- hexdigest! (12)
- hstack (12)
- include? (12)
- index (48)
- info (24)
-
inplace
_ mode (12) - insert (12)
-
insert
_ output (12) - inspect (163)
-
instance
_ methods (12) -
instruction
_ sequence (7) - join (12)
- label (24)
-
laplace
_ expansion (12) - length (12)
- lineno (12)
- lines (38)
- ljust (12)
- log (24)
- lstrip (12)
- lup (12)
-
lup
_ decomposition (12) - map (24)
- map! (14)
- match (48)
- match? (30)
-
method
_ defined? (12) -
method
_ id (12) - methods (12)
- minor (24)
-
module
_ function (12) - name (17)
- name= (10)
- namespace (12)
- next! (12)
- oct (12)
- on (36)
- ord (12)
- order (48)
- order! (48)
- pack (21)
- parameters (7)
- parse (24)
- parse! (24)
-
parse
_ csv (12) - partition (12)
- path (56)
- peek (12)
- peep (12)
- permute (24)
- permute! (24)
- pointer (12)
- pointer= (12)
- pos (12)
- pos= (12)
-
post
_ match (12) -
pre
_ match (12) - pread (8)
- prepend (21)
-
pretty
_ print (12) -
prime
_ fasttest? (12) - print (24)
- printf (12)
- private (12)
-
private
_ instance _ methods (12) -
private
_ method _ defined? (12) -
program
_ name (12) -
protected
_ method _ defined? (12) -
proxy
_ basic _ auth (12) - public (12)
-
public
_ method _ defined? (12) - putback (24)
- puts (12)
- pwrite (8)
-
quote
_ char (12) - raise (6)
-
raised
_ exception (12) - read (24)
-
read
_ body (24) - readbyte (12)
- readchar (24)
- readline (12)
- readlines (48)
- rect (12)
- rectangular (12)
- regular? (12)
- reopen (24)
- replacement (12)
- replacement= (12)
- reset (12)
- result (12)
-
return
_ value (12) - rindex (12)
- rjust (12)
- row (24)
-
row
_ sep (12) - rpartition (12)
- rstrip (12)
- rstrip! (12)
- scan (36)
-
scan
_ full (12) -
scan
_ until (12) - scrub (36)
- scrub! (36)
-
search
_ full (12) - select (24)
- self (12)
-
set
_ backtrace (12) -
set
_ trace _ func (12) - setbyte (12)
-
singleton
_ methods (12) - size (12)
-
skew
_ symmetric? (7) - skip (12)
-
skip
_ until (12) - slice (72)
- solve (12)
-
source
_ location (36) - split (31)
- squeeze (12)
- squeeze! (12)
- src (12)
- start (36)
-
start
_ with? (12) - strftime (12)
- strip (12)
- strip! (12)
-
strongly
_ connected _ components (12) - struct (12)
- sub (36)
- sub! (36)
- subtract (12)
- succ! (12)
- sum (12)
-
summary
_ indent (12) - swapcase (12)
- swapcase! (12)
- syswrite (12)
- terminate (12)
- text (12)
-
to
_ a (37) -
to
_ binary (10) -
to
_ c (12) -
to
_ csv (12) -
to
_ f (12) -
to
_ i (12) -
to
_ json (228) -
to
_ mailtext (12) -
to
_ path (8) -
to
_ r (12) -
to
_ rfc822text (12) -
to
_ s (204) -
to
_ str (12) - tokenize (12)
-
tr
_ s (12) -
tr
_ s! (12) - trace (12)
- transfer (12)
-
transform
_ keys (20) -
transform
_ keys! (20) -
transform
_ values (18) -
transform
_ values! (18) - truncate (96)
- trust (9)
- undump (8)
- ungetc (12)
-
unicode
_ normalize (11) -
unicode
_ normalize! (11) -
unicode
_ normalized? (11) - unknown (24)
- unpack (12)
- unpack1 (9)
- unscan (12)
- untrust (9)
- untrusted? (9)
- upcase (12)
- upcase! (12)
- upto (12)
- value (24)
- values (6)
-
values
_ at (24) - vstack (12)
-
wait
_ for _ cond (2) - warn (24)
- write (36)
- | (12)
検索結果
先頭5件
-
RubyVM
:: AbstractSyntaxTree :: Node # inspect -> String (32225.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 # children -> Array (32125.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
:: InstructionSequence # to _ binary(extra _ data = nil) -> String (29343.0) -
バイナリフォーマットでシリアライズされたiseqのデータを文字列として返します。 RubyVM::InstructionSequence.load_from_binary メソッドでバイナリデータに対応するiseqオブジェクトを作れます。
...て返します。
RubyVM::InstructionSequence.load_from_binary メソッドでバイナリデータに対応するiseqオブジェクトを作れます。
引数の extra_data はバイナリデータと共に保存されます。
RubyVM::InstructionSequence.load_from_binary_extra_data メソッ......ません。他のバージョンや他のアーキテクチャのRubyで作られたバイナリデータは使用できません。
//emlist[例][ruby]{
iseq = RubyVM::InstructionSequence.compile('num = 1 + 2')
iseq.to_binary("extra_data")
# ※表示の都合上改行しているが実際は改......\x00\x00\x00\x16\x02\x00\x00\n\x00\x00\x00\x01
# \x00\x00\x00\x03\x00\x00\x00\x05\x00\x00\x00\x84\x01\x00\x00\x88\x01\x00
# \x00\x02\x02\x00\x00x86_64-darwin15\x00*\x00\x00\x00\x00\x00\x00\x00\x01
# \x00\x00\x00\x00\x00\x00\x00\\\x00\x00\x00\x00\x00\x00\x00\x0F\x00\x00\x00
# \x00\x00\x00\x00\x02\x00... -
RubyVM
:: InstructionSequence # inspect -> String (29219.0) -
self の情報をラベルとパスを含んだ人間に読みやすい文字列にして返します。
...んだ人間に読みやすい文字列にして返します。
//emlist[例][ruby]{
iseq = RubyVM::InstructionSequence.compile('num = 1 + 2')
iseq.inspect # => "<RubyVM::InstructionSequence:<compiled>@<compiled>>"
//}
@see RubyVM::InstructionSequence#label,
RubyVM::InstructionSequence#path... -
RubyVM
:: InstructionSequence # absolute _ path -> String | nil (29207.0) -
self が表す命令シーケンスの絶対パスを返します。
...= RubyVM::InstructionSequence.compile('num = 1 + 2')
# => <RubyVM::InstructionSequence:<compiled>@<compiled>>
iseq.absolute_path
# => nil
例2: RubyVM::InstructionSequence.compile_file を使用した場合
# /tmp/method.rb
def hello
puts "hello, world"
end
# irb
> iseq = Ruby......VM::InstructionSequence.compile_file('/tmp/method.rb')
> iseq.absolute_path # => "/tmp/method.rb"
@see RubyVM::InstructionSequence#path... -
RubyVM
:: InstructionSequence # base _ label -> String (29207.0) -
self が表す命令シーケンスの基本ラベルを返します。
...ベルを返します。
例1:irb で実行した場合
iseq = RubyVM::InstructionSequence.compile('num = 1 + 2')
# => <RubyVM::InstructionSequence:<compiled>@<compiled>>
iseq.base_label
# => "<compiled>"
例2: RubyVM::InstructionSequence.compile_file を使用した場合
# /tmp/metho......d
# irb
> iseq = RubyVM::InstructionSequence.compile_file('/tmp/method.rb')
> iseq.base_label # => "<main>"
例3:
# /tmp/method2.rb
def hello
puts "hello, world"
end
RubyVM::InstructionSequence.of(method(:hello)).base_label
# => "hello"
@see RubyVM::InstructionSequence#label... -
RubyVM
:: InstructionSequence # disasm -> String (29207.0) -
self が表す命令シーケンスを人間が読める形式の文字列に変換して返します。
...を人間が読める形式の文字列に変換して返します。
puts RubyVM::InstructionSequence.compile('1 + 2').disasm
出力:
== disasm: <RubyVM::InstructionSequence:<compiled>@<compiled>>==========
0000 trace 1 ( 1)
0002......putobject 1
0004 putobject 2
0006 opt_plus <ic:1>
0008 leave
@see RubyVM::InstructionSequence.disasm... -
RubyVM
:: InstructionSequence # disassemble -> String (29207.0) -
self が表す命令シーケンスを人間が読める形式の文字列に変換して返します。
...を人間が読める形式の文字列に変換して返します。
puts RubyVM::InstructionSequence.compile('1 + 2').disasm
出力:
== disasm: <RubyVM::InstructionSequence:<compiled>@<compiled>>==========
0000 trace 1 ( 1)
0002......putobject 1
0004 putobject 2
0006 opt_plus <ic:1>
0008 leave
@see RubyVM::InstructionSequence.disasm... -
RubyVM
:: InstructionSequence # label -> String (29207.0) -
self が表す命令シーケンスのラベルを返します。通常、メソッド名、クラス名、 モジュール名などで構成されます。
... RubyVM::InstructionSequence.compile('num = 1 + 2')
# => <RubyVM::InstructionSequence:<compiled>@<compiled>>
iseq.label
# => "<compiled>"
例2: RubyVM::InstructionSequence.compile_file を使用した場合
# /tmp/method.rb
def hello
puts "hello, world"
end
# irb
> iseq = Ruby......VM::InstructionSequence.compile_file('/tmp/method.rb')
> iseq.label # => "<main>"
例3:
# /tmp/method2.rb
def hello
puts "hello, world"
end
RubyVM::InstructionSequence.of(method(:hello)).label
# => "hello"
@see RubyVM::InstructionSequence#base_label... -
RubyVM
:: InstructionSequence # path -> String (29207.0) -
self が表す命令シーケンスの相対パスを返します。
...= RubyVM::InstructionSequence.compile('num = 1 + 2')
# => <RubyVM::InstructionSequence:<compiled>@<compiled>>
iseq.path
# => "<compiled>"
例2: RubyVM::InstructionSequence.compile_file を使用した場合
# /tmp/method.rb
def hello
puts "hello, world"
end
# irb
> iseq = Ruby......VM::InstructionSequence.compile_file('method.rb')
> iseq.path # => "method.rb"
@see RubyVM::InstructionSequence#absolute_path...