るりまサーチ

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

別のキーワード

  1. openssl g
  2. openssl g=
  3. dsa g
  4. dsa g=
  5. dh g

ライブラリ

検索結果

<< 1 2 3 ... > >>

Range#last -> object (18117.0)

終端の要素を返します。範囲オブジェクトが終端を含むかどうかは関係ありま せん。

...終端の要素を返します。範囲オブジェクトが終端を含むかどうかは関係ありま
せん。

//emlist[例][ruby]{
(10..20).last # => 20
(10...20).last # => 20
//}

@see Range#begin...

Range#last(n) -> [object] (18117.0)

最後の n 要素を返します。範囲内に要素が含まれない場合は空の配列を返します。

...ArgumentError n に負の数を指定した場合に発生します。

[注意] 引数を省略して実行した場合は、終端を含むかどうか
(Range#exclude_end? の戻り値)に関わらず終端の要素を返す事に注意し
てください。

//emlist[例][ruby]{
(10..20).last(3)...
...# => [18, 19, 20]
(10...20).last(3) # => [17, 18, 19]
//}

@see Range#first...

CGI::QueryExtension::Value#last -> self (18102.0)

@todo

@todo

Rake::TaskManager#last_comment -> String (9209.0)

Rakefile 内の最新の詳細説明を追跡するためのメソッドです。

...詳細説明を追跡するためのメソッドです。

//emlist[][ruby]{
# Rakefile での記載例とする

task default: :test_rake_app1

desc "test1"
task :test_rake_app1 do |task|
p task.application.last_description # => "test2"
end

desc "test2"
task :test_rake_app2 do |task|
end
//}...

Rake::TaskManager#last_description -> String (9209.0)

Rakefile 内の最新の詳細説明を追跡するためのメソッドです。

...詳細説明を追跡するためのメソッドです。

//emlist[][ruby]{
# Rakefile での記載例とする

task default: :test_rake_app1

desc "test1"
task :test_rake_app1 do |task|
p task.application.last_description # => "test2"
end

desc "test2"
task :test_rake_app2 do |task|
end
//}...

絞り込み条件を変える

Rake::TaskManager#last_description=(description) (9120.0)

最新の詳細説明をセットします。

...の記載例とする

task default: :test_rake_app1

desc "test1"
task :test_rake_app1 do |task|
task.application.last_description # => "test2"
task.application.last_description = "test3"
task.application.last_description # => "test3"
end

desc "test2"
task :test_rake_app2 do |task|
end
//}...

Encoding::Converter#last_error -> Exception | nil (9114.0)

直前に変換器で発生した例外に相当する例外オブジェクトを返します。 直前の変換で例外が発生していない場合は nil を返します。

...いない場合は nil を返します。

//emlist[][ruby]{
ec = Encoding::Converter.new("utf-8", "iso-8859-1")
p ec.primitive_convert(src="\xf1abcd", dst="") #=> :invalid_byte_sequence
p ec.last_error #=> #<Encoding::InvalidByteSequenceError: "\xF1" followed by "a" on UTF-8>
p ec.primit...
...ive_convert(src, dst, nil, 1) #=> :destination_buffer_full
p ec.last_error #=> nil
//}...

Scanf::FormatString#last_match_tried (9102.0)

@todo

@todo

Scanf::FormatString#last_spec (9102.0)

@todo

@todo

Scanf::FormatString#last_spec_tried (9102.0)

@todo

@todo

絞り込み条件を変える

<< 1 2 3 ... > >>