Sha256: bce2ec9a7947ac1480f31adeacdf305da50eb5eb04678f0b6c80aeb89a31d031

Contents?: true

Size: 884 Bytes

Versions: 36

Compression:

Stored size: 884 Bytes

Contents

module Inch
  module Language
    module Ruby
      module Evaluation
        # 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

          # @see Evaluation::Ruby::Base
          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
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
inch-0.9.0.rc1 lib/inch/language/ruby/evaluation/namespace_object.rb
inch-0.8.0 lib/inch/language/ruby/evaluation/namespace_object.rb
inch-0.8.0.rc2 lib/inch/language/ruby/evaluation/namespace_object.rb
inch-0.8.0.rc1 lib/inch/language/ruby/evaluation/namespace_object.rb
inch-0.7.1 lib/inch/language/ruby/evaluation/namespace_object.rb
inch-0.7.0 lib/inch/language/ruby/evaluation/namespace_object.rb
inch-0.6.4 lib/inch/language/ruby/evaluation/namespace_object.rb
inch-0.6.3 lib/inch/language/ruby/evaluation/namespace_object.rb
inch-0.6.2 lib/inch/language/ruby/evaluation/namespace_object.rb
inch-0.6.1 lib/inch/language/ruby/evaluation/namespace_object.rb
inch-0.6.0 lib/inch/language/ruby/evaluation/namespace_object.rb
inch-0.6.0.rc6 lib/inch/language/ruby/evaluation/namespace_object.rb
inch-0.6.0.rc5 lib/inch/language/ruby/evaluation/namespace_object.rb
inch-0.6.0.rc4 lib/inch/language/ruby/evaluation/namespace_object.rb
inch-0.6.0.rc3 lib/inch/language/ruby/evaluation/namespace_object.rb
inch-0.6.0.rc2 lib/inch/language/ruby/evaluation/namespace_object.rb
inch-0.6.0.rc1 lib/inch/language/ruby/evaluation/namespace_object.rb
inch-0.5.10 lib/inch/language/ruby/evaluation/namespace_object.rb
inch-0.5.9 lib/inch/language/ruby/evaluation/namespace_object.rb
inch-0.5.8 lib/inch/language/ruby/evaluation/namespace_object.rb