782件ヒット
[701-782件を表示]
(0.043秒)
別のキーワード
ライブラリ
- ビルトイン (286)
- csv (33)
- fileutils (11)
-
io
/ console (22) -
minitest
/ unit (1) - optparse (11)
-
rdoc
/ context (11) -
rexml
/ document (110) -
rexml
/ parsers / pullparser (11) -
rexml
/ sax2listener (11) -
rexml
/ streamlistener (11) -
rubygems
/ dependency _ installer (44) -
rubygems
/ exceptions (22) -
rubygems
/ installer (66) -
rubygems
/ specification (33) -
rubygems
/ uninstaller (22) -
rubygems
/ user _ interaction (11) -
webrick
/ httpservlet / abstract (11) -
webrick
/ httpservlet / prochandler (11)
クラス
- CSV (33)
- Exception (11)
-
Gem
:: DependencyInstaller (44) -
Gem
:: Installer (55) -
Gem
:: Specification (33) -
Gem
:: StreamUI (11) -
Gem
:: Uninstaller (22) - IO (22)
-
OptionParser
:: ParseError (11) -
RDoc
:: Context :: Section (11) -
REXML
:: Element (11) -
REXML
:: Instruction (88) -
REXML
:: Parsers :: PullEvent (11) - Rational (11)
- RubyVM (11)
-
RubyVM
:: InstructionSequence (225) -
Thread
:: Backtrace :: Location (11) - TracePoint (6)
-
WEBrick
:: HTTPServlet :: AbstractServlet (11) -
WEBrick
:: HTTPServlet :: ProcHandler (11)
モジュール
- FileUtils (11)
-
Gem
:: InstallUpdateOptions (22) -
MiniTest
:: Assertions (1) -
REXML
:: SAX2Listener (11) -
REXML
:: StreamListener (11)
キーワード
- == (11)
-
DEFAULT
_ OPTIONS (11) - ExtensionBuildError (11)
-
INSTRUCTION
_ NAMES (11) - InstallUpdateOptions (11)
- Instruction (11)
- InstructionSequence (11)
- RemoteInstallationCancelled (11)
- RemoteInstallationSkipped (11)
-
absolute
_ path (11) -
assert
_ instance _ of (1) -
base
_ label (11) -
build
_ extensions (11) - clone (11)
- compile (11)
-
compile
_ file (11) -
compile
_ option (11) -
compile
_ option= (11) - content (11)
- content= (11)
- disasm (22)
- disassemble (22)
- eval (11)
-
find
_ spec _ by _ name _ and _ version (11) -
first
_ lineno (11) -
get
_ instance (22) - inspect (77)
- install (33)
-
install
_ update _ defaults _ str (11) -
installation
_ path (11) -
installation
_ satisfies _ dependency? (11) - instance (22)
- instruction (11)
- instruction? (11)
-
instruction
_ sequence (6) - instructions (11)
- label (11)
-
load
_ from _ binary (9) -
load
_ from _ binary _ extra _ data (9) - new (55)
-
node
_ type (11) - of (11)
- path (11)
-
processing
_ instruction (11) - spec (22)
- target (11)
- target= (11)
-
to
_ a (11) -
to
_ binary (9) - winsize (11)
- winsize= (11)
検索結果
先頭5件
- RubyVM
:: InstructionSequence . disasm(body) -> String - RubyVM
:: InstructionSequence . disassemble(body) -> String - RubyVM
:: InstructionSequence . load _ from _ binary _ extra _ data(binary) -> String - Gem
:: DependencyInstaller . new(options = {}) -> Gem :: DependencyInstaller - Gem
:: Installer . new(gem , options = {}) -> Gem :: Installer
-
RubyVM
:: InstructionSequence . disasm(body) -> String (6000.0) -
引数 body で指定したオブジェクトから作成した RubyVM::InstructionSequence オブジェクトを人間が読める形式の文字 列に変換して返します。
...::InstructionSequence オブジェクトを人間が読める形式の文字
列に変換して返します。
@param body Proc、Method オブジェクトを指定します。
例1:Proc オブジェクトを指定した場合
# /tmp/proc.rb
p = proc { num = 1 + 2 }
puts RubyVM::Instruction......Sequence.disasm(p)
出力:
== disasm: <RubyVM::InstructionSequence:block in <main>@/tmp/proc.rb>===
== catch table
| catch type: redo st: 0000 ed: 0012 sp: 0000 cont: 0000
| catch type: next st: 0000 ed: 0012 sp: 0000 cont: 0012
|------------------------------------------------------......クトを指定した場合
# /tmp/method.rb
def hello
puts "hello, world"
end
puts RubyVM::InstructionSequence.disasm(method(:hello))
出力:
== disasm: <RubyVM::InstructionSequence:hello@/tmp/method.rb>============
0000 trace 8... -
RubyVM
:: InstructionSequence . disassemble(body) -> String (6000.0) -
引数 body で指定したオブジェクトから作成した RubyVM::InstructionSequence オブジェクトを人間が読める形式の文字 列に変換して返します。
...::InstructionSequence オブジェクトを人間が読める形式の文字
列に変換して返します。
@param body Proc、Method オブジェクトを指定します。
例1:Proc オブジェクトを指定した場合
# /tmp/proc.rb
p = proc { num = 1 + 2 }
puts RubyVM::Instruction......Sequence.disasm(p)
出力:
== disasm: <RubyVM::InstructionSequence:block in <main>@/tmp/proc.rb>===
== catch table
| catch type: redo st: 0000 ed: 0012 sp: 0000 cont: 0000
| catch type: next st: 0000 ed: 0012 sp: 0000 cont: 0012
|------------------------------------------------------......クトを指定した場合
# /tmp/method.rb
def hello
puts "hello, world"
end
puts RubyVM::InstructionSequence.disasm(method(:hello))
出力:
== disasm: <RubyVM::InstructionSequence:hello@/tmp/method.rb>============
0000 trace 8... -
RubyVM
:: InstructionSequence . load _ from _ binary _ extra _ data(binary) -> String (6000.0) -
バイナリフォーマットの文字列から埋め込まれたextra_dataを取り出します。
...埋め込まれたextra_dataを取り出します。
//emlist[例][ruby]{
iseq = RubyVM::InstructionSequence.compile('num = 1 + 2')
binary = iseq.to_binary("extra_data")
RubyVM::InstructionSequence.load_from_binary_extra_data(binary) # => extra_data
//}
@see RubyVM::InstructionSequence#to_binary... -
Gem
:: DependencyInstaller . new(options = {}) -> Gem :: DependencyInstaller (3200.0) -
自身を初期化します。
...Gem.sources を検索します),
:both (:local, :remote の両方を検索します) のいずれかを指定可能です。
: :env_shebang
Gem::Installer.new を参照してください。
: :force
バージョンチェックとセキュリティポリシーのチェックを行わずにイ......Gem::Installer.new を参照してください。
: :ignore_dependencies
依存している Gem をインストールしません。
: :install_dir
Gem をインストールするディレクトリです。
: :security_policy
セキュリティポリシーを指定します。
: :user_install......トールしようとしますが、
警告を表示します。
: :wrappers
真を指定するとラッパーをインストールします。
偽を指定すると、シンボリックリンクをインストールします。
@see Gem::Installer.new, Gem::Installer#install, Gem::Security... -
Gem
:: Installer . new(gem , options = {}) -> Gem :: Installer (3200.0) -
@todo 書いてないオプションがいっぱいある
...ある
与えられた引数で自身を初期化します。
@param gem インストール対象の Gem のパスを指定します。
@param options インストーラが使用するオプションをハッシュで指定します。
使用できるキーは以下の通りです......を行わないようにします。
: :ignore_dependencies
依存関係を満たしていない場合でも例外を発生させません。
: :install_dir
Gem をインストールするディレクトリを指定します。
: :format_executable
実行ファイルの名前を ruby と同じ......ser_install
この値が false の場合は、ユーザのホームディレクトリに Gem をインストールしません。
この値が nil の場合は、ユーザのホームディレクトリに Gem をインストールしますが、警告が表示されます。
@raise Gem::Install... -
Gem
:: Installer # spec -> Gem :: Specification (3100.0) -
インストールしようとしている Gem に対応する Gem::Specification のインスタンスを返します。
...インストールしようとしている Gem に対応する Gem::Specification のインスタンスを返します。... -
Gem
:: Uninstaller # spec -> Gem :: Specification (3100.0) -
Gem::Uninstaller#uninstall_gem の実行中のみセットされます。
...Gem::Uninstaller#uninstall_gem の実行中のみセットされます。... -
Gem
:: Uninstaller . new(gem , options = {}) (3100.0) -
自身を初期化します。
...自身を初期化します。
@param gem アンインストールする Gem を指定します。
@param options オプションを指定します。...