3063件ヒット
[1-100件を表示]
(0.121秒)
別のキーワード
ライブラリ
- ビルトイン (2053)
- bigdecimal (12)
- csv (12)
- erb (12)
-
irb
/ cmd / help (12) - json (36)
-
json
/ add / struct (12) - kconv (12)
- mkmf (12)
-
net
/ http (84) - open-uri (60)
- optparse (180)
- pathname (24)
- rake (24)
-
rexml
/ document (180) -
rubygems
/ requirement (36) -
rubygems
/ specification (24) - stringio (86)
- strscan (132)
- uri (36)
-
webrick
/ httprequest (12) - win32ole (12)
クラス
- Array (33)
- BigDecimal (12)
- Binding (7)
- CSV (12)
- ERB (12)
- Encoding (12)
-
Encoding
:: Converter (72) -
Encoding
:: InvalidByteSequenceError (12) -
Encoding
:: UndefinedConversionError (12) - Enumerator (24)
- Exception (8)
-
Gem
:: Requirement (36) -
Gem
:: Specification (24) - IO (16)
-
IRB
:: ExtendCommand :: Help (12) -
JSON
:: Parser (12) - MatchData (26)
- Method (12)
- Module (600)
-
Net
:: HTTPGenericRequest (36) - Object (51)
- OptionParser (132)
- Pathname (24)
- Proc (12)
-
REXML
:: Attribute (36) -
REXML
:: Attributes (36) -
REXML
:: CData (12) -
REXML
:: DocType (24) -
REXML
:: Document (36) -
REXML
:: Instruction (24) -
REXML
:: Text (12) -
Rake
:: FileList (24) - Range (33)
- Refinement (4)
- Regexp (24)
-
RubyVM
:: AbstractSyntaxTree :: Node (7) -
RubyVM
:: InstructionSequence (94) - String (776)
- StringIO (86)
- StringScanner (132)
- Struct (60)
- Symbol (27)
-
Thread
:: Backtrace :: Location (12) - Time (12)
- TrueClass (24)
-
URI
:: MailTo (36) - UnboundMethod (96)
- UncaughtThrowError (11)
-
WEBrick
:: HTTPRequest (12) -
WIN32OLE
_ VARIANT (12)
モジュール
キーワード
- % (26)
- == (12)
- === (12)
- [] (36)
- []= (24)
-
_ dump (24) -
absolute
_ path (24) -
alias
_ method (12) -
arg
_ config (12) - arity (12)
-
as
_ list (12) - attr (36)
-
attr
_ accessor (12) -
attr
_ reader (12) -
attr
_ writer (12) -
attribute
_ of (12) - autoload (12)
- autoload? (12)
-
base
_ label (12) -
basic
_ auth (12) - body (12)
- bytes (7)
- byteslice (36)
- captures (12)
- casecmp (24)
- casecmp? (18)
- charset (24)
-
check
_ until (12) -
class
_ variable _ defined? (12) -
class
_ variable _ get (12) -
class
_ variable _ set (12) - clone (12)
- concat (9)
-
const
_ defined? (12) -
const
_ get (12) -
const
_ set (12) -
const
_ source _ location (12) - content (12)
-
content
_ encoding (12) -
content
_ type (12) - convert (12)
- count (12)
- deconstruct (2)
- dedup (3)
-
default
_ argv (12) -
define
_ method (24) -
delete
_ suffix (8) -
delete
_ suffix! (8) -
deprecate
_ constant (12) - disasm (12)
- disassemble (12)
- dummy? (12)
- dump (12)
- dup (24)
- each (12)
-
each
_ byte (24) -
each
_ char (12) -
each
_ codepoint (12) -
each
_ grapheme _ cluster (16) -
each
_ line (24) - encode (36)
- encoding (12)
-
end
_ with? (6) - eql? (12)
-
error
_ bytes (12) -
error
_ char (12) - execute (12)
- fetch (12)
- finish (12)
-
force
_ encoding (12) -
get
_ byte (12) - getbyte (12)
- getch (12)
-
grapheme
_ clusters (16) - gsub (48)
- gsub! (60)
- headers (12)
-
import
_ methods (4) - include? (12)
-
insert
_ output (12) - inspect (67)
-
instance
_ method (12) - iseuc (12)
- label (12)
- length (12)
- lines (7)
- ljust (12)
- match? (12)
-
matched
_ size (12) - method (12)
-
method
_ defined? (12) -
module
_ function (36) - name (24)
-
named
_ captures (12) - namespace (12)
- namespaces (12)
- order! (48)
- pack (21)
- parse (24)
- parse! (24)
- path (24)
- permute (24)
- permute! (24)
- pread (8)
- prefix (12)
- prefixes (12)
- prepend (9)
-
pretty
_ print (12) - private (48)
-
private
_ class _ method (24) -
private
_ constant (12) -
private
_ method _ defined? (12) -
protected
_ method _ defined? (12) -
proxy
_ basic _ auth (12) - public (60)
-
public
_ class _ method (24) -
public
_ constant (12) -
public
_ instance _ method (12) -
public
_ method (12) -
public
_ method _ defined? (12) - putback (24)
- puts (12)
- pwrite (8)
- query (12)
-
quote
_ char (12) -
remove
_ class _ variable (12) -
remove
_ const (12) -
remove
_ method (12) - replacement= (12)
- result (12)
- rjust (12)
-
rubygems
_ version (12) -
scan
_ full (12) -
scan
_ until (12) - scrub (36)
- scrub! (36)
-
search
_ full (12) - size (12)
-
skip
_ until (12) - slice (12)
- slice! (12)
- source (24)
-
source
_ location (43) - squeeze (12)
- squeeze! (12)
-
stand
_ alone? (12) - status (12)
- step (19)
- strftime (12)
- sub (60)
- sub! (48)
-
sub
_ type (12) - succ (12)
- succ! (12)
- sum (12)
-
summary
_ indent (12) - target (12)
- then (7)
-
to
_ a (12) -
to
_ binary (10) -
to
_ json (36) -
to
_ mailtext (12) -
to
_ rfc822text (12) -
to
_ ruby (12) -
to
_ s (71) -
to
_ string (12) - truncate (12)
-
undef
_ method (12) - undump (8)
- ungetc (12)
-
unicode
_ normalize (11) -
unicode
_ normalize! (11) -
unicode
_ normalized? (11) - unpack (12)
- unpack1 (9)
- unscan (12)
- upcase (12)
- upcase! (12)
- upto (12)
- value (36)
-
values
_ at (12) - version (12)
-
with
_ object (24) -
yield
_ self (8)
検索結果
先頭5件
-
RubyVM
:: InstructionSequence # absolute _ path -> String | nil (32202.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 # to _ binary(extra _ data = nil) -> String (29126.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\x00\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_bina... -
RubyVM
:: AbstractSyntaxTree :: Node # inspect -> String (29114.0) -
self のデバッグ用の情報を含んだ文字列を返します。
...self のデバッグ用の情報を含んだ文字列を返します。
//emlist[][ruby]{
node = RubyVM::AbstractSyntaxTree.parse('1 + 1')
puts node.inspect
# => #<RubyVM::AbstractSyntaxTree::Node:SCOPE@1:0-1:5>
//}... -
RubyVM
:: InstructionSequence # inspect -> String (29114.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 # disasm -> String (29103.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 (29103.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 # base _ label -> String (29102.0) -
self が表す命令シーケンスの基本ラベルを返します。
...した場合
iseq = RubyVM::InstructionSequence.compile('num = 1 + 2')
# => <RubyVM::InstructionSequence:<compiled>@<compiled>>
iseq.base_label
# => "<compiled>"
例2: RubyVM::InstructionSequence.compile_file を使用した場合
# /tmp/method.rb
def hello
puts "hello, world"
e......# 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 # label -> String (29102.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 (29102.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...