Current File : //proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/NameDescriptor/new-c.yaml |
--- !ruby/object:RI::MethodDescription
aliases: []
block_params:
comment:
- !ruby/struct:SM::Flow::P
body: arg may be
- !ruby/object:SM::Flow::LIST
contents:
- !ruby/struct:SM::Flow::LI
label: "1."
body: a class or module name (optionally qualified with other class or module names (Kernel, File::Stat etc)
- !ruby/struct:SM::Flow::LI
label: "2."
body: a method name
- !ruby/struct:SM::Flow::LI
label: "3."
body: a method name qualified by a optionally fully qualified class or module name
type: :NUMBER
- !ruby/struct:SM::Flow::P
body: "We're fairly casual about delimiters: folks can say Kernel::puts, Kernel.puts, or Kernel\\#puts for example. There's one exception: if you say IO::read, we look for a class method, but if you say IO.read, we look for an instance method"
full_name: NameDescriptor::new
is_singleton: true
name: new
params: (arg)
visibility: public