468件ヒット
[401-468件を表示]
(0.075秒)
別のキーワード
ライブラリ
- ビルトイン (36)
-
net
/ http (60) - optparse (36)
-
rexml
/ document (60) - rubygems (12)
-
rubygems
/ commands / update _ command (12) -
rubygems
/ installer (12) -
rubygems
/ requirement (36) -
rubygems
/ specification (72) -
rubygems
/ version (108) - un (12)
- win32ole (12)
クラス
-
Encoding
:: UndefinedConversionError (12) -
Gem
:: Commands :: UpdateCommand (12) -
Gem
:: Installer (12) -
Gem
:: Requirement (36) -
Gem
:: Specification (72) -
Gem
:: Version (108) -
Net
:: HTTP (48) -
Net
:: HTTPResponse (12) - OptionParser (24)
-
REXML
:: Document (36) -
REXML
:: Instruction (24) -
RubyVM
:: InstructionSequence (12) - ThreadGroup (12)
- WIN32OLE (12)
モジュール
- Kernel (24)
-
OptionParser
:: Arguable (12)
キーワード
- <=> (12)
- === (12)
- =~ (12)
- bump (12)
- content (12)
-
do
_ rubygems _ update (12) - encoding (12)
- eql? (12)
-
error
_ char (12) - gem (12)
- get (24)
- getopts (12)
-
http
_ version (12) - httpd (12)
- install (12)
- list (12)
-
marshal
_ dump (12) -
marshal
_ load (12) -
ole
_ query _ interface (12) -
on
_ tail (12) - post (24)
- prerelease? (12)
- release (12)
-
required
_ ruby _ version (12) -
required
_ ruby _ version= (12) -
required
_ rubygems _ version (12) -
required
_ rubygems _ version= (12) -
rubygems
_ version (12) -
rubygems
_ version= (12) -
satisfied
_ by? (12) -
stand
_ alone? (12) - target (12)
-
to
_ a (12) -
to
_ s (12) - ver (12)
検索結果
先頭5件
-
OptionParser
:: Arguable # getopts(short _ opt , *long _ opt) -> Hash (19.0) -
指定された short_opt や long_opt に応じて自身をパースし、結果を Hash として返します。
...オプションが引数をとる場合は直後に ":" を付けます。
@param long_opt ロングネームのオプション(--version や --bufsize=512)を文字列で指定をします。
オプションが引数をとる場合は後ろに ":" を付けます。......ブク
ラスの例外になります。
//emlist[t.rb][ruby]{
require 'optparse'
params = ARGV.getopts("ab:", "foo", "bar:", "bufsize:1024")
p params
//}
# 実行結果
$ ruby t.rb -b 1 --foo --bar xxx -- -a
{"bufsize"=>"1024", "a"=>false, "b"=>"1", "foo"=>true... -
WIN32OLE
# ole _ query _ interface(iid) -> WIN32OLE (19.0) -
IID(インターフェイスID)を指定してオブジェクトの別のインターフェイスを 持つオブジェクトを取得します。
...として定義しなけれ
ば追加のメソッドが呼び出せません。
たとえば、当メソッドの存在理由である
http://www.ruby-forum.com/topic/109954(なお、元のパッチと異な
りGUIDの統一フォーマットを利用するように改造されているため、I......で追加されたメソッド
(たとえばGetProjectTemplate)を指定したとしても正しく呼び出せます。つ
まり、http://www.ruby-forum.com/topic/109954で例示されているよ
うなole_query_interfaceメソッドの呼び出しは不要です。
もし、当メソッド......い場合に、以
下のような方法で、インターフェイスのバージョンを調べることができます。
def check_solution_version(obj)
[['{CDA7305C-78B6-4D9D-90AD-93EBE71F9341}', 4],
['{DF23915F-FDA3-4DD5-9CAA-2E1372C2BB16}', 3],
['{FA238614-FBB1-4314-A7F7-49AE... -
REXML
:: Document # encoding -> String (13.0) -
XML 宣言に含まれている XML 文書のエンコーディングを返します。
...宣言を持たない場合はデフォルトの値
(REXML::XMLDecl.defaultで宣言されているもの)を返します。
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<EOS)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<e />
EOS
doc.encoding # => "UTF-8"
//}... -
REXML
:: Document # stand _ alone? -> String (13.0) -
XML 宣言の standalone の値を文字列で返します。
...XML 宣言の standalone の値を文字列で返します。
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<EOS)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<e />
EOS
doc.stand_alone? # => "yes"
//}... -
REXML
:: Instruction # content -> String | nil (13.0) -
XML 処理命令の内容を返します。
...XML 処理命令の内容を返します。
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<EOS)
<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/css" href="style.css"?>
<?foobar?>
<root />
EOS
doc[2] # => <?p-i xml-stylesheet ...?>
doc[2].target # => "xml-... -
REXML
:: Instruction # target -> String (13.0) -
XML 処理命令のターゲットを返します。
...XML 処理命令のターゲットを返します。
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<EOS)
<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/css" href="style.css"?>
<root />
EOS
doc[2] # => <?p-i xml-stylesheet ...?>
doc[2].target # => "xml-st...