Spec-Zone.ru › Homebrew

Class: Method Private

Inherits:
Object
  • Object
  • Method
show all
Defined in:
extend/object/duplicable/method.rb

This class is part of a private API. This class may only be used in the Homebrew/brew repository. Third parties should avoid using this class if possible, as it may be removed or changed without warning.

Instance Method Summary collapse

  • #duplicable? ⇒ false private

    Methods are not duplicable:.

Instance Method Details

#duplicable? ⇒ false

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Methods are not duplicable:

method(:puts).duplicable? # => false
method(:puts).dup         # => TypeError: allocator undefined for Method

Returns:

  • (false)


12
# File 'extend/object/duplicable/method.rb', line 12

def duplicable? = false

© 2009–present Homebrew contributors
Licensed under the BSD 2-Clause License.
https://docs.brew.sh/rubydoc/Method.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API