るりまサーチ

最速Rubyリファレンスマニュアル検索!
242件ヒット [1-100件を表示] (0.079秒)
トップページ > クエリ:-[x] > クエリ:desc[x] > 種類:インスタンスメソッド[x]

別のキーワード

  1. _builtin -
  2. open-uri open
  3. irb/input-method gets
  4. irb/input-method new
  5. matrix -

ライブラリ

モジュール

キーワード

検索結果

<< 1 2 3 > >>

Kernel#desc(description) -> String (18308.0)

直後の Rake タスクの説明を登録します。

...直後の Rake タスクの説明を登録します。

@param description 直後のタスクの説明を指定します。

例:
desc
"Run the Unit Tests"
task :test => [:build] do
runtests
end...

Net::IMAP::BodyTypeBasic#description -> String | nil (6217.0)

Content-Description の値を文字列で返します。

...Content-Description の値を文字列で返します。

@see 2045...

Net::IMAP::BodyTypeMessage#description -> String | nil (6217.0)

Content-Description の値を文字列で返します。

...Content-Description の値を文字列で返します。

@see 2045...

Net::IMAP::BodyTypeText#description -> String | nil (6217.0)

Content-Description の値を文字列で返します。

...Content-Description の値を文字列で返します。

@see 2045...

Gem::Command#description -> String (6201.0)

このメソッドはサブクラスで再定義されます。 コマンドが実行することを説明する文字列を返します。

このメソッドはサブクラスで再定義されます。
コマンドが実行することを説明する文字列を返します。

絞り込み条件を変える

Gem::Specification#description -> String (6201.0)

Gem パッケージの説明を返します。

Gem パッケージの説明を返します。

Pathname#descend -> Enumerator (6201.0)

self のパス名の親から子供へと辿っていったときの各パス名を新しい Pathname オブジェクトとして生成し、ブロックへの引数として渡して実行しま す。 ブロックを省略した場合は Enumerator を返します。

...'pathname'

Pathname.new('/path/to/some/file.rb').descend {|v| p v}
# => #<Pathname:/>
# #<Pathname:/path>
# #<Pathname:/path/to>
# #<Pathname:/path/to/some>
# #<Pathname:/path/to/some/file.rb>

Pathname.new('path/to/some/file.rb').descend {|v| p v}
# => #<Pathname:path>
# #<Pathname...

Pathname#descend {|pathname| ... } -> nil (6201.0)

self のパス名の親から子供へと辿っていったときの各パス名を新しい Pathname オブジェクトとして生成し、ブロックへの引数として渡して実行しま す。 ブロックを省略した場合は Enumerator を返します。

...'pathname'

Pathname.new('/path/to/some/file.rb').descend {|v| p v}
# => #<Pathname:/>
# #<Pathname:/path>
# #<Pathname:/path/to>
# #<Pathname:/path/to/some>
# #<Pathname:/path/to/some/file.rb>

Pathname.new('path/to/some/file.rb').descend {|v| p v}
# => #<Pathname:path>
# #<Pathname...

Rake::TaskManager#last_description -> String (3213.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
//}...

OptionParser#on(long, pat = /.*/, desc = "") {|v| ...} -> self (240.0)

オプションを取り扱うためのブロックを自身に登録します。 ブロックはコマンドラインのパース時に、オプションが指定されていれば呼ばれます。

...
例外 OptionParser::InvalidArgument が parse 実行時に投げられます。

opts.on("--username VALUE", /[a-zA-Z0-9_]+/){|name| ...}
# ruby command --username=ruby_user
# ruby command --username=ruby.user #=> Error

@param short ショートオプションを表す文字列を指定...
...します。

@param long ロングオプションを表す文字列を指定します。

@param pat オプションの引数に許すパターンを表す正規表現で指定します。

@param desc オプションの説明を文字列で与えます。サマリに表示されます。...

絞り込み条件を変える

<< 1 2 3 > >>