るりまサーチ (Ruby 2.3.0)

最速Rubyリファレンスマニュアル検索!
2件ヒット [1-2件を表示] (0.044秒)
トップページ > バージョン:2.3.0[x] > クエリ:new[x] > クエリ:cat[x] > 種類:クラス[x]

別のキーワード

  1. openssl new
  2. _builtin new
  3. rexml/document new
  4. resolv new
  5. socket new

ライブラリ

キーワード

検索結果

RSS::Maker::ChannelBase::CategoriesBase::CategoryBase (27052.0)

categoryは maker.channel.categories.new_categoryで作成されたオ ブジェクトとします.

categoryは
maker.channel.categories.new_categoryで作成されたオ
ブジェクトとします.

contentを指定する必要があります.

Thread::Backtrace::Location (18040.0)

Ruby のフレームを表すクラスです。

...例1の実行結果:

caller_locations.rb:2:in `a'
caller_locations.rb:5:in `b'
caller_locations.rb:8:in `c'

//emlist[例2][ruby]{
# foo.rb
class
Foo
attr_accessor :locations
def initialize(skip)
@locations = caller_locations(skip)
end
end

Foo.new(0..2).locations.map do |call|
p...