るりまサーチ

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

別のキーワード

  1. openssl t61string
  2. asn1 t61string
  3. matrix t
  4. t61string new
  5. fiddle type_size_t

検索結果

<< 1 2 3 ... > >>

IRB::Context#main -> object (21202.0)

self に設定されたオブジェクトを返します。

self に設定されたオブジェクトを返します。

@see cwws コマンド

Rake::RDocTask#main -> String (21202.0)

メインとして使用されるファイル名を返します。

メインとして使用されるファイル名を返します。

Net::HTTPHeader#main_type -> String|nil (12208.0)

"text/html" における "text" のようなタイプを表す 文字列を返します。

..."text/html" における "text" のようなタイプを表す
文字列を返します。

Content-Type: ヘッダフィールドが存在しない場合には nil を返します。

//emlist[例][ruby]{
require 'net/http'

uri = URI.parse('http://www.example.com/index.html')
res = Net::HTTP.get_r...
...esponse(uri)
res.main_type # => "text"
//}...

RSS::Maker::ChannelBase::CategoriesBase::CategoryBase#domain (12101.0)

@todo

...@todo...

RSS::Maker::ChannelBase::CategoriesBase::CategoryBase#domain=() (12101.0)

@todo

...@todo...

絞り込み条件を変える

RSS::Rss::Channel::Item::Category#domain (12101.0)

@todo

...@todo...

RSS::Rss::Channel::Item::Category#domain= (12101.0)

@todo

...@todo...

RDoc::Options#main_page -> String | nil (9218.0)

コマンドライン引数の --main オプションで指定したファイル名、クラス/モ ジュール名を返します。

...コマンドライン引数の --main オプションで指定したファイル名、クラス/モ
ジュール名を返します。

指定しなかった場合は nil を返します。...

Exception#backtrace_locations -> [Thread::Backtrace::Location] (9213.0)

バックトレース情報を返します。Exception#backtraceに似ていますが、 Thread::Backtrace::Location の配列を返す点が異なります。

...ption#backtraceに似ていますが、
T
hread::Backtrace::Location の配列を返す点が異なります。

現状では Exception#set_backtrace によって戻り値が変化する事はあり
ません。

//emlist[例: test.rb][ruby]{
require "date"
def check_long_month(month)
return if Dat...
...month, -1).day == 31
raise "#{month} is not long month"
end

def get_exception
return begin
yield
rescue => e
e
end
end

e = get_exception { check_long_month(2) }
p e.backtrace_locations
# => ["test.rb:4:in `check_long_month'", "test.rb:15:in `block in <main>'", "test.rb:9:in `get_ex...
...ception'", "test.rb:15:in `<main>'"]
//}

@see Exception#backtrace...
<< 1 2 3 ... > >>