ライブラリ
- ビルトイン (96)
- csv (240)
- fileutils (24)
- getoptlong (12)
- json (48)
-
net
/ imap (24) - open-uri (40)
- openssl (24)
- psych (36)
- rake (24)
-
rdoc
/ generator / json _ index (12) -
rdoc
/ parser (12) -
rdoc
/ parser / c (12) -
rdoc
/ parser / ruby (12) -
rdoc
/ parser / simple (12) -
rubygems
/ command (24) -
rubygems
/ dependency _ installer (12) -
rubygems
/ installer (12) -
rubygems
/ security (72) -
rubygems
/ server (12) -
rubygems
/ uninstaller (12) - sync (18)
- tempfile (55)
-
webrick
/ cgi (12) -
webrick
/ httpservlet / abstract (24) -
webrick
/ httpservlet / filehandler (12)
クラス
- CSV (240)
-
Encoding
:: Converter (48) -
Gem
:: Command (24) -
Gem
:: DependencyInstaller (12) -
Gem
:: Installer (12) -
Gem
:: Security :: Policy (24) -
Gem
:: Server (12) -
Gem
:: Uninstaller (12) - GetoptLong (12)
-
JSON
:: Parser (12) -
JSON
:: State (24) -
Net
:: IMAP (24) -
OpenSSL
:: SSL :: SSLContext (24) -
Psych
:: Visitors :: YAMLTree (12) -
RDoc
:: Generator :: JsonIndex (12) -
RDoc
:: Parser (12) -
RDoc
:: Parser :: C (12) -
RDoc
:: Parser :: Ruby (12) -
RDoc
:: Parser :: Simple (12) -
RubyVM
:: InstructionSequence (48) -
Sync
_ m :: Err (6) -
Sync
_ m :: LockModeFailer (6) -
Sync
_ m :: UnknownLocker (6) - Tempfile (55)
-
WEBrick
:: CGI (12) -
WEBrick
:: HTTPServlet :: AbstractServlet (24) -
WEBrick
:: HTTPServlet :: FileHandler (12)
キーワード
- Fail (18)
- [] (12)
-
add
_ common _ option (12) -
add
_ trusted _ cert (12) - application (12)
- application= (12)
-
build
_ cert (12) -
build
_ self _ signed _ cert (12) - compile (12)
-
compile
_ file (12) -
compile
_ option= (12) - create (22)
- dump (24)
- filter (36)
- foreach (24)
-
from
_ state (12) - generate (12)
-
generate
_ line (12) -
get
_ instance (12) - instance (24)
- new (299)
- open (86)
-
open
_ uri (24) - parse (24)
-
parse
_ line (12) -
parser
_ for (12) - read (12)
- readlines (12)
- run (12)
-
search
_ convpath (12) -
sign
_ cert (12) - table (12)
-
trusted
_ cert _ path (12)
検索結果
先頭5件
-
FileUtils
. options -> Array (24208.0) -
オプション名の配列を返します。
...オプション名の配列を返します。
//emlist[][ruby]{
require 'fileutils'
FileUtils.options
# => ["verbose", "mode", "noop", "parents", "force", "preserve", "dereference_root", "remove_destination", "secure", "mtime", "nocreate"]
//}......オプション名の配列を返します。
//emlist[][ruby]{
require 'fileutils'
FileUtils.options
# => ["noop", "verbose", "force", "mode", "parents", "owner", "group", "preserve", "dereference_root", "remove_destination", "secure", "mtime", "nocreate"]
//}... -
FileUtils
. options _ of(mid) -> Array (12208.0) -
与えられたメソッド名で使用可能なオプション名の配列を返します。
...与えられたメソッド名で使用可能なオプション名の配列を返します。
@param mid メソッド名を指定します。
//emlist[][ruby]{
require 'fileutils'
FileUtils.options_of(:rm) # => ["noop", "verbose", "force"]
//}... -
Gem
:: Command . common _ options -> Array (12202.0) -
共通の引数を返します。
共通の引数を返します。 -
OpenURI
. open _ uri(name , mode = & # 39;r& # 39; , perm = nil , options = {}) -> StringIO (9321.0) -
URI である文字列 name のリソースを取得して StringIO オブジェクト として返します。
...uire 'open-uri'
sio = OpenURI.open_uri('http://www.example.com')
p sio.last_modified
puts sio.read
OpenURI.open_uri('http://www.example.com'){|sio| sio.read }
options には Hash を与えます。理解するハッシュの
キーは以下のシンボル、
* :proxy
* :progress_proc
*......:content_length_proc
* :http_basic_authentication
* :proxy_http_basic_authentication
* :read_timeout
* :ssl_ca_cert
* :ssl_verify_mode
* :ftp_active_mode
* :redirect
です。
「:content_length_proc」と「:progress_proc」はプログレスバーに
利用されることを想定してい......ます。
require 'open-uri'
sio = OpenURI.open_uri('http://www.example.com',
{ :proxy => 'http://proxy.example.com:8000/',
:http_basic_authentication => [username, password] })
: :proxy
プロクシの設定をします。
値には以下... -
OpenURI
. open _ uri(name , mode = & # 39;r& # 39; , perm = nil , options = {}) {|sio| . . . } -> nil (9321.0) -
URI である文字列 name のリソースを取得して StringIO オブジェクト として返します。
...uire 'open-uri'
sio = OpenURI.open_uri('http://www.example.com')
p sio.last_modified
puts sio.read
OpenURI.open_uri('http://www.example.com'){|sio| sio.read }
options には Hash を与えます。理解するハッシュの
キーは以下のシンボル、
* :proxy
* :progress_proc
*......:content_length_proc
* :http_basic_authentication
* :proxy_http_basic_authentication
* :read_timeout
* :ssl_ca_cert
* :ssl_verify_mode
* :ftp_active_mode
* :redirect
です。
「:content_length_proc」と「:progress_proc」はプログレスバーに
利用されることを想定してい......ます。
require 'open-uri'
sio = OpenURI.open_uri('http://www.example.com',
{ :proxy => 'http://proxy.example.com:8000/',
:http_basic_authentication => [username, password] })
: :proxy
プロクシの設定をします。
値には以下... -
RDoc
:: Parser . parser _ for(top _ level , file _ name , body , options , stats) -> RDoc :: Parser (9314.0) -
file_name を解析できるパーサのインスタンスを返します。 見つからなかった場合は RDoc::Parser::Simple のインスタンスを返します。
...:Parser::Simple のインスタンスを返します。
@param top_level RDoc::TopLevel オブジェクトを指定します。
@param file_name ファイル名を文字列で指定します。
@param body ソースコードの内容を文字列で指定します。
@param options RDoc::Options......オブジェクトを指定します。
@param stats RDoc::Stats オブジェクトを指定します。... -
URI
. open(name , mode = & # 39;r& # 39; , perm = nil , options = {}) -> StringIO | Tempfile | IO (6309.0) -
name が http:// や https://、ftp:// で始まっている文字列なら URI のリソースを 取得した上で StringIO オブジェクトまたは Tempfile オブジェクトとして返します。 返されるオブジェクトは OpenURI::Meta モジュールで extend されています。
...name が http:// や https://、ftp:// で始まっている文字列なら URI のリソースを
取得した上で StringIO オブジェクトまたは Tempfile オブジェクトとして返します。
返されるオブジェクトは OpenURI::Meta モジュールで extend されています......。
name に open メソッドが定義されている場合は、*rest を引数として渡し
name.open(*rest, &block) のように name の open メソッドが呼ばれます。
これ以外の場合は、name はファイル名として扱われ、従来の
Kernel.#open(name, *rest) が呼......name が http:// や https://、ftp:// で
始まっている文字列なら URI のリソースを取得した上で StringIO オブジェクト
または Tempfile オブジェクトを引数としてブロックを評価します。後は同様です。
引数のオブジェクトは OpenURI::Meta... -
URI
. open(name , mode = & # 39;r& # 39; , perm = nil , options = {}) {|ouri| . . . } -> object (6309.0) -
name が http:// や https://、ftp:// で始まっている文字列なら URI のリソースを 取得した上で StringIO オブジェクトまたは Tempfile オブジェクトとして返します。 返されるオブジェクトは OpenURI::Meta モジュールで extend されています。
...name が http:// や https://、ftp:// で始まっている文字列なら URI のリソースを
取得した上で StringIO オブジェクトまたは Tempfile オブジェクトとして返します。
返されるオブジェクトは OpenURI::Meta モジュールで extend されています......。
name に open メソッドが定義されている場合は、*rest を引数として渡し
name.open(*rest, &block) のように name の open メソッドが呼ばれます。
これ以外の場合は、name はファイル名として扱われ、従来の
Kernel.#open(name, *rest) が呼......name が http:// や https://、ftp:// で
始まっている文字列なら URI のリソースを取得した上で StringIO オブジェクト
または Tempfile オブジェクトを引数としてブロックを評価します。後は同様です。
引数のオブジェクトは OpenURI::Meta... -
Gem
:: Command . add _ common _ option(*args) {|value , options| . . . } (6302.0) -
全てのコマンドに共通するオプションを登録するためのメソッドです。
...全てのコマンドに共通するオプションを登録するためのメソッドです。
@param args 追加するオプションの情報を指定します。...