Sha256: 54a37a5b81770f55d7cac4c86c3d30e16e77e1a0f9806b2c2c544d2464ad5c8b

Contents?: true

Size: 776 Bytes

Versions: 36

Compression:

Stored size: 776 Bytes

Contents

module Inch
  module Evaluation
    module Proxy
      # a namespace object can have methods and other namespace objects
      # inside itself (e.g. classes and modules)
      class NamespaceObject < Base
        protected

        def relevant_roles
          relevant_base_roles.merge(relevant_namespace_roles)
        end

        def relevant_namespace_roles
          {
            Role::Namespace::Core => nil,
            Role::Namespace::WithManyAttributes => nil,
            Role::Namespace::WithoutChildren => nil,
            Role::Namespace::WithChildren => nil,
            Role::Namespace::WithManyChildren => nil,
            Role::Namespace::WithoutMethods => nil,
            Role::Namespace::Pure => nil,
          }
        end
      end
    end
  end
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
inch-0.5.0.rc3 lib/inch/evaluation/proxy/namespace_object.rb
inch-0.5.0.rc2 lib/inch/evaluation/proxy/namespace_object.rb
inch-0.5.0.rc1 lib/inch/evaluation/proxy/namespace_object.rb
inch-0.4.6 lib/inch/evaluation/proxy/namespace_object.rb
inch-0.4.5 lib/inch/evaluation/proxy/namespace_object.rb
inch-0.4.4 lib/inch/evaluation/proxy/namespace_object.rb
inch-0.4.4.rc4 lib/inch/evaluation/proxy/namespace_object.rb
inch-0.4.4.rc3 lib/inch/evaluation/proxy/namespace_object.rb
inch-0.4.4.rc2 lib/inch/evaluation/proxy/namespace_object.rb
inch-0.4.4.rc1 lib/inch/evaluation/proxy/namespace_object.rb
inch-0.4.3 lib/inch/evaluation/proxy/namespace_object.rb
inch-0.4.3.rc2 lib/inch/evaluation/proxy/namespace_object.rb
inch-0.4.3.rc1 lib/inch/evaluation/proxy/namespace_object.rb
inch-0.4.2 lib/inch/evaluation/proxy/namespace_object.rb
inch-0.4.1 lib/inch/evaluation/proxy/namespace_object.rb
inch-0.4.0 lib/inch/evaluation/proxy/namespace_object.rb
inch-0.4.0.rc3 lib/inch/evaluation/proxy/namespace_object.rb
inch-0.4.0.rc2 lib/inch/evaluation/proxy/namespace_object.rb
inch-0.4.0.rc1 lib/inch/evaluation/proxy/namespace_object.rb
inch-0.3.4.rc1 lib/inch/evaluation/proxy/namespace_object.rb