るりまサーチ

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

別のキーワード

  1. net/imap param
  2. win32ole win32ole_param
  3. bodytypetext param
  4. win32ole_param new
  5. win32ole_param input?

ライブラリ

クラス

キーワード

検索結果

Rake::FileList#include(*filenames) -> self (21232.0)

ファイル名のパターンを追加リストに登録します。 配列が与えられた場合、配列の各要素が追加されます。

...ターンを追加リストに登録します。
配列が与えられた場合、配列の各要素が追加されます。

@param filenames 追加するファイル名のパターンを指定します。

例:
file
_list.include("*.java", "*.cfg")
file
_list.include %w( math.c lib.h *.o )...

Object#respond_to?(name, include_all = false) -> bool (144.0)

オブジェクトがメソッド name を持つとき真を返します。

...いうのは、
オブジェクトが メソッド name に応答できることをいいます。

Windows での Process.fork や GNU/Linux での File.lchmod の
ような NotImplementedError が発生する場合は false を返します。

※ NotImplementedError が発生する場合に false...
...ていない場合は、Object#respond_to_missing? を呼
び出してその結果を返します。

@param name Symbol または文字列で指定するメソッド名です。

@param include_all private メソッドと protected メソッドを確認の対象に
含めるか...
...mentedError.new
end

def finish
puts "finish"
end
end

class ImplTemplateMethod
include
Template
def template_method
"implement template_method"
end
end

class NotImplTemplateMethod
include
Template

# not implement template_method
end

puts ImplTemplateMethod.new.respond_to?...

WEBrick::HTTPResponse#content_length -> Integer | nil (19.0)

Content-Length ヘッダの値を整数で表すアクセサです。デフォルトは nil です。

...スポンスに含まれません。

@param len ヘッダの値を整数で指定します。nil を指定することは出来ません。

require 'webrick'
include
WEBrick
res = HTTPResponse.new( { :HTTPVersion => "1.1" } )
f = File.new('testfile')
res.body = f
res.content_length = 2...

WEBrick::HTTPResponse#content_length=(len) (19.0)

Content-Length ヘッダの値を整数で表すアクセサです。デフォルトは nil です。

...スポンスに含まれません。

@param len ヘッダの値を整数で指定します。nil を指定することは出来ません。

require 'webrick'
include
WEBrick
res = HTTPResponse.new( { :HTTPVersion => "1.1" } )
f = File.new('testfile')
res.body = f
res.content_length = 2...