Sha256: f67a27da6b7267bf2a8ca1e97b4661aacf771e811aac63d3050c1ab04a973abf

Contents?: true

Size: 885 Bytes

Versions: 17

Compression:

Stored size: 885 Bytes

Contents

module Inch
  module Language
    module Nodejs
      module Evaluation
        # Base class for all Nodejs related evaluations
        #
        # @abstract
        class Base < Inch::Evaluation::Proxy
          protected

          def relevant_base_roles
            {
              Role::Object::InRoot => nil,
              Role::Object::Public => nil,
              Role::Object::TaggedAsNodoc => nil,
              Role::Object::WithDoc => score_for(:docstring),
              Role::Object::WithoutDoc => score_for(:docstring),
              Role::Object::WithCodeExample => score_for(:code_example_single),
              Role::Object::WithMultipleCodeExamples =>
                score_for(:code_example_multi),
              Role::Object::WithoutCodeExample =>
                score_for(:code_example_single)
            }
          end
        end
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
inch-0.5.10 lib/inch/language/nodejs/evaluation/base.rb
inch-0.5.9 lib/inch/language/nodejs/evaluation/base.rb
inch-0.5.8 lib/inch/language/nodejs/evaluation/base.rb
inch-0.5.7 lib/inch/language/nodejs/evaluation/base.rb
inch-0.5.6 lib/inch/language/nodejs/evaluation/base.rb
inch-0.5.5 lib/inch/language/nodejs/evaluation/base.rb
inch-0.5.4 lib/inch/language/nodejs/evaluation/base.rb
inch-0.5.3 lib/inch/language/nodejs/evaluation/base.rb
inch-0.5.2 lib/inch/language/nodejs/evaluation/base.rb
inch-0.5.1 lib/inch/language/nodejs/evaluation/base.rb
inch-0.5.0 lib/inch/language/nodejs/evaluation/base.rb
inch-0.5.0.rc11 lib/inch/language/nodejs/evaluation/base.rb
inch-0.5.0.rc10 lib/inch/language/nodejs/evaluation/base.rb
inch-0.5.0.rc9 lib/inch/language/nodejs/evaluation/base.rb
inch-0.5.0.rc8 lib/inch/language/nodejs/evaluation/base.rb
inch-0.5.0.rc7 lib/inch/language/nodejs/evaluation/base.rb
inch-0.5.0.rc6 lib/inch/language/nodejs/evaluation/base.rb