Sha256: 8c3dbf763a137c59eaa3680314e12ccb687f8eaa04a98a33d06b8e1424254768

Contents?: true

Size: 679 Bytes

Versions: 1

Compression:

Stored size: 679 Bytes

Contents

module Inch
  module Language
    module Elixir
      module Provider
        module Reader
          module Object
            # Proxy class for modules
            class ModuleObject < Base
              def original_docstring
                @hash['moduledoc']
              end

              HIDDEN_TYPES = %w(impl)
              def nodoc?
                @hash['moduledoc'] == false ||
                  HIDDEN_TYPES.include?(@hash['type'])
              end

              def fullname
                @hash['id']
              end

              def namespace?
                true
              end
            end
          end
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
inch-0.5.3 lib/inch/language/elixir/provider/reader/object/module_object.rb