Class: Unidom::Common::Neglection

Inherits:
Object
  • Object
show all
Defined in:
lib/unidom/common/neglection.rb

Class Method Summary collapse

Class Method Details

.namespace_neglected?(class_name) ⇒ Boolean

Returns:

  • (Boolean)


3
4
5
# File 'lib/unidom/common/neglection.rb', line 3

def self.namespace_neglected?(class_name)
  Unidom::Common.options[:neglected_namespaces].include? class_name.to_s.deconstantize
end