Flowdock
method

new

Importance_1
v1_8_7_330 - Show latest stable - 0 notes - Class: NameDescriptor
new(arg) public

arg may be

  1. a class or module name (optionally qualified with other class or module names (Kernel, File::Stat etc)

  2. a method name

  3. a method name qualified by a optionally fully qualified class or module name

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

Show source
Register or log in to add new notes.