るりまサーチ

最速Rubyリファレンスマニュアル検索!
810件ヒット [1-100件を表示] (0.074秒)
トップページ > クエリ:>[x] > クエリ:ord[x]

別のキーワード

  1. _builtin >
  2. bigdecimal >
  3. float >
  4. integer >
  5. module >

ライブラリ

モジュール

検索結果

<< 1 2 3 ... > >>

Integer#ord -> Integer (18225.0)

自身を返します。

...自身を返します。

//emlist[][ruby]{
10.ord #=> 10
# String#ord
?a.ord #=> 97
//}

@see String#ord...

String#ord -> Integer (18207.0)

文字列の最初の文字の文字コードを整数で返します。

...の文字コードを整数で返します。

self が空文字列のときは例外を発生します。

@return 文字コードを表す整数
@raise ArgumentError self の長さが 0 のとき発生

//emlist[例][ruby]{
p "a".ord # => 97
//}

@see Integer#chr, String#chr...

CGI::HtmlExtension#password_field(attributes) -> String (6200.0)

タイプが password である input 要素を生成します。

...タイプが password である input 要素を生成します。

@param attributes 属性をハッシュで指定します。

例:
password_field({ "NAME" => "name", "VALUE" => "value" })
# <INPUT TYPE="password" NAME="name" VALUE="value">...

CGI::HtmlExtension#password_field(name = "", value = nil, size = 40, maxlength = nil) -> String (6200.0)

タイプが password である input 要素を生成します。

...が password である input 要素を生成します。

@param name name 属性の値を指定します。

@param value 属性の値を指定します。

@param size size 属性の値を指定します。

@param maxlength maxlength 属性の値を指定します。

例:
password_field("name"...
...)
# <INPUT TYPE="password" NAME="name" SIZE="40">

password_field("name", "value")
# <INPUT TYPE="password" NAME="name" VALUE="value" SIZE="40">

password_field("password", "value", 80, 200)
# <INPUT TYPE="password" NAME="name" VALUE="value" SIZE="80" MAXLENGTH="200">...

Date.ordinal(year = -4712, yday = 1, start = Date::ITALY) -> Date (6200.0)

年間通算日 (年日付) に相当する日付オブジェクトを生成します。

年間通算日 (年日付) に相当する日付オブジェクトを生成します。

年の日は負、
または正の数でなければなりません (負のときは最後からの序数)。
零であってはなりません。

Date.jd、および Date.new も参照してください。

@param year 年
@param yday 年の日
@param start グレゴリオ暦をつかい始めた日をあらわすユリウス日
@raise ArgumentError 正しくない日付になる組み合わせである場合に発生します。
年間通算日 (年日付) に相当する日付オブジェクトを生成します。

年の日は負、
または正の数でなければなりません (負のときは最後からの序数)。
零であってはなりません。

Date.jd、および Date.new も参照してください。

@param year 年
@param yday 年の日
@param start グレゴリオ暦をつかい始めた日をあらわすユリウス日
@raise Date::Error 正しくない日付になる組み合わせである場合に発生します。

絞り込み条件を変える

Date.valid_ordinal?(year, yday, start = Date::GREGORIAN) -> bool (6200.0)

正しい年間通算日 (年日付) であれば真、そうでないなら偽を返します。

...正しい年間通算日 (年日付) であれば真、そうでないなら偽を返します。

Date.jd、および Date.ordinal も参照してください。

@param year 年
@param yday 年の日
@param start グレゴリオ暦をつかい始めた日をあらわすユリウス日...

DateTime.ordinal(year = -4712, yday = 1, hour = 0, min = 0, sec = 0, offset = 0, start = Date::ITALY) -> DateTime (6200.0)

年日付に相当する日時オブジェクトを生成します。

年日付に相当する日時オブジェクトを生成します。

DateTime.new も参照してください。

@param year 年
@param yday 年の日
@param hour 時
@param min 分
@param sec 秒
@param offset 時差
@param start グレゴリオ暦をつかい始めた日をあらわすユリウス日
@raise ArgumentError 正しくない日時

Gem::DependencyList#dependency_order -> [Gem::Specification] (6200.0)

依存する Gem の数が少ない順にソートされた Gem::Specification のリストを返します。

...If there are circular dependencies (yuck!), then gems will be
returned in order until only the circular dependents and anything
they reference are left. Then arbitrary gemspecs will be returned
until the circular dependency is broken, after which gems will be
returned in dependency order again....

GetoptLong#ordering -> Integer (6200.0)

現在の順序形式を返します。

現在の順序形式を返します。

GetoptLong::ORDERINGS -> Array (6200.0)

内部で使用する定数です。

...内部で使用する定数です。

GetoptLong::REQUIRE_ORDER, GetoptLong::PERMUTE,
GetoptLong::RETURN_IN_ORDER がセットされています。...

絞り込み条件を変える

<< 1 2 3 ... > >>