るりまサーチ

最速Rubyリファレンスマニュアル検索!
5074件ヒット [1-100件を表示] (0.047秒)

別のキーワード

  1. tracer set_get_line_procs
  2. webrick/httpservlet do_get
  3. net/http get
  4. http get
  5. ftp get

オブジェクト

キーワード

検索結果

<< 1 2 3 ... > >>

static NODE * gettable(ID id) (26132.0)

id が変数・定数として有効ならば、それを参照するノードを返します。 (get + able であって get table ではない)

...id が変数・定数として有効ならば、それを参照するノードを返します。
(get + able であって get table ではない)...

static VALUE get_backtrace(VALUE info) (26100.0)

getoptlong (26000.0)

getoptlong は、GNU の getopt_long() とまったく同じ方式でコマンド 行オプションの解析を行う Ruby のライブラリです。

...getoptlong は、GNU の getopt_long() とまったく同じ方式でコマンド
行オプションの解析を行う Ruby のライブラリです。


=== GNU getopt_long() とは?

GNU getopt_long() は、コマンド行オプションの解析を行う C の関数です。多
くの GNU ソフ...
...トウェアがこの関数を使用しています。GNU getopt_long() そし
getoptlong には、以下のような特徴があります。

* 伝統的な一文字オプションに加えて、長いオプションに対応しています。長
いオプションは `-' の代わりに `-...
...)。
* 特殊な引数 `--' によって、オプションの解析を強制的に終了します。


=== 順序形式 (ordering)

GNU getopt_long() および getoptlong.rb には、`REQUIRE_ORDER',
`PERMUTE', `RETURN_IN_ORDER' という、3 つの「順序形式」が用
意されています。...

GetoptLong#get -> [String, String] (21120.0)

ARGV から、次のオプションの名前と、もしあればその引数の組を取 得します。メソッドは 2 つの値を返し、1 つ目の値がオプション名 (例: --max-size) で、2 つ目がオプションの引数 (例: 20K) です。

...は 2 つの値を返し、1 つ目の値がオプション名
(例: --max-size) で、2 つ目がオプションの引数 (例: 20K) です。

get
get_option は常にオプション名を正式名
で返します。与えられたオプションが引数を取らないときは、
空の文...
...わない場合は、エラーとなって、以下のいずれかの例外が発生し
ます。

* GetoptLong::AmbiguousOption
* GetoptLong::InvalidOption
* GetoptLong::MissingArgument
* GetoptLong::NeedlessArgument

加えて、静粛 (quiet) フラグが有効になっていない限り、...
...エラーメッ
セージを標準エラー出力に出力します。

例:
optname, optarg = option_parser.get...

Net::HTTP#get(path, header = nil, dest = nil) -> Net::HTTPResponse (18132.0)

サーバ上の path にあるエンティティを取得し、 Net::HTTPResponse のインスタンスとして返します。

...version 1.1
response, body = http.get( '/index.html' )

# net/http version 1.2
response = http.get('/index.html')

# compatible in both version
response , = http.get('/index.html')
response.body

# compatible, using block
File.open('save.txt', 'w') {|f|
http.get('/~foo/', nil) do |str|
f.writ...
...e str
end
}
//}

@see Net::HTTP#request_get...

絞り込み条件を変える

Net::HTTP#get(path, header = nil, dest = nil) {|body_segment| .... } -> Net::HTTPResponse (18132.0)

サーバ上の path にあるエンティティを取得し、 Net::HTTPResponse のインスタンスとして返します。

...version 1.1
response, body = http.get( '/index.html' )

# net/http version 1.2
response = http.get('/index.html')

# compatible in both version
response , = http.get('/index.html')
response.body

# compatible, using block
File.open('save.txt', 'w') {|f|
http.get('/~foo/', nil) do |str|
f.writ...
...e str
end
}
//}

@see Net::HTTP#request_get...

Net::HTTP.get(host, path, port = 80) -> String (18124.0)

指定した対象に GET リクエストを送り、そのボディを 文字列として返します。

...指定した対象に GET リクエストを送り、そのボディを
文字列として返します。

対象の指定方法は URI で指定するか、
(host, path, port) で指定するかのいずれかです。

@param uri データの取得対象を URI で指定します。
@param host...
...接続先のホストを文字列で指定します。
@param path データの存在するパスを文字列で指定します。
@param port 接続するポートを整数で指定します。
@see Net::HTTP#get...

Net::HTTP.get(uri) -> String (18124.0)

指定した対象に GET リクエストを送り、そのボディを 文字列として返します。

...指定した対象に GET リクエストを送り、そのボディを
文字列として返します。

対象の指定方法は URI で指定するか、
(host, path, port) で指定するかのいずれかです。

@param uri データの取得対象を URI で指定します。
@param host...
...接続先のホストを文字列で指定します。
@param path データの存在するパスを文字列で指定します。
@param port 接続するポートを整数で指定します。
@see Net::HTTP#get...

Net::FTP#get(remotefile, localfile = File.basename(remotefile), blocksize = DEFAULT_BLOCKSIZE) -> nil (18102.0)

サーバ上のファイルを取得します。

...サーバ上のファイルを取得します。

Net::FTP#binary の値に従って
Net::FTP#getbinaryfile もしくは
Net::FTP#gettextfile を呼びだします。

binary が偽のとき、つまりテキストモードの
ときには blocksize は無視されます。

@param remotefile 取...

Net::FTP#get(remotefile, localfile = File.basename(remotefile), blocksize = DEFAULT_BLOCKSIZE) { |data| .... } -> nil (18102.0)

サーバ上のファイルを取得します。

...サーバ上のファイルを取得します。

Net::FTP#binary の値に従って
Net::FTP#getbinaryfile もしくは
Net::FTP#gettextfile を呼びだします。

binary が偽のとき、つまりテキストモードの
ときには blocksize は無視されます。

@param remotefile 取...

絞り込み条件を変える

<< 1 2 3 ... > >>