るりまサーチ

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

別のキーワード

  1. _builtin to_c
  2. etc sc_2_c_dev
  3. etc sc_2_c_bind
  4. tracer display_c_call
  5. tracer display_c_call?

検索結果

<< 1 2 3 ... > >>

RSS::ImageFaviconModel::ImageFavicon#date (24103.0)

@todo

@todo

Date#to_date -> Date (23235.0)

対応する Date オブジェクトを返します。

...対応する Date オブジェクトを返します。...

Date#to_datetime -> DateTime (23217.0)

対応する DateTime オブジェクトを返します。

...対応する DateTime オブジェクトを返します。...

Date#deconstruct_keys(array_of_names_or_nil) -> Hash (23129.0)

パターンマッチに使用する名前と値の Hash を返します。

...マッチに使用します。

//emlist[例][ruby]{
d = Date.new(2022, 10, 5)

if d in wday: 3, day: ..7 # deconstruct_keys が使われます
puts "first Wednesday of the month"
end
#=> "first Wednesday of the month" が出力される

c
ase d
in year: ...2022
puts "too old"
in month: ..9
pu...
...g day in month #{month}"
end
#=> "working day in month 10" が出力される

# クラスのチェックと組み合わせて利用することもできます
if d in Date(wday: 3, day: ..7)
puts "first Wednesday of the month"
end
//}

@see d:spec/pattern_matching#matching_non_primitive_objects...

Date#xmlschema -> String (23117.0)

XML Scheme (date) による書式の文字列を返します。

...XML Scheme (date) による書式の文字列を返します。...

絞り込み条件を変える

Date#asctime -> String (23101.0)

asctime(3) 書式の文字列を返します (ただし、末尾の "\n\0" は除く)。

...asctime(3) 書式の文字列を返します (ただし、末尾の "\n\0" は除く)。...

Date#ctime -> String (23101.0)

asctime(3) 書式の文字列を返します (ただし、末尾の "\n\0" は除く)。

...asctime(3) 書式の文字列を返します (ただし、末尾の "\n\0" は除く)。...

Date#cwday -> Integer (23101.0)

暦週の日 (曜日) を返します (1-7、月曜は1)。

暦週の日 (曜日) を返します (1-7、月曜は1)。

Date#cweek -> Integer (23101.0)

暦週を返します (1-53)。

暦週を返します (1-53)。

Date#cwyear -> Integer (23101.0)

暦週における年を返します。

暦週における年を返します。

絞り込み条件を変える

<< 1 2 3 ... > >>