Class: Module

Inherits:
Object
  • Object
show all
Includes:
AdLint::Memoizable
Defined in:
lib/adlint/prelude.rb

Instance Method Summary collapse

Methods included from AdLint::Memoizable

#memoize

Instance Method Details

#outer_moduleObject



55
56
57
# File 'lib/adlint/prelude.rb', line 55

def outer_module
  eval self.name.sub(/(.*)::.*\z/, "\\1")
end

#private_constantObject



52
# File 'lib/adlint/prelude.rb', line 52

def private_constant(*) end