Module: Garcon::AtRandom

Extended by:
ClassMethods
Included in:
Hacker, Names
Defined in:
lib/garcon/utility/at_random.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Methods included from ClassMethods

at_random

Class Method Details

.included(other) ⇒ self

Hook called when module is included, extends a descendant with class and instance methods.

Parameters:

  • descendant (Module)

    the module or class including Garcon::Resource::BaseDSL

Returns:

  • (self)


50
51
52
# File 'lib/garcon/utility/at_random.rb', line 50

def self.included(other)
  other.extend(ClassMethods)
end