Sha256: 89f075000d3c45ca8d25f5bdf0fcc5516a3da14dbba751179bd6a20f60b8cd89

Contents?: true

Size: 267 Bytes

Versions: 1

Compression:

Stored size: 267 Bytes

Contents

class Unidom::Common::Neglection

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

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
unidom-common-1.9.1 lib/unidom/common/neglection.rb