Sha256: 4cdd25f3b2e31d0319f3ba9d347d52dd8b3e56c05b437319b2c6b94d4f85f922

Contents?: true

Size: 885 Bytes

Versions: 34

Compression:

Stored size: 885 Bytes

Contents

module Inch
  module Language
    module Elixir
      module Evaluation
        # Base class for all Elixir 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

34 entries across 34 versions & 1 rubygems

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