Sha256: 0918e13e7e61939a6bca554b8ccbccec6c78342f8a86c885e159c39bbeafe035

Contents?: true

Size: 828 Bytes

Versions: 7

Compression:

Stored size: 828 Bytes

Contents

module Useless
  module Doc
    module Core

      # `Core::Stage` documents credit and progress of a stage in the
      # development of an API. For example, a stage is one of "concept",
      # "specification" or "implementation" in `Core::API`.
      #
      # @!attribute [r] credit
      #   @return [Array<String>] names of the people responsible for this 
      #     stage.
      #
      # @!attribute [r] progress
      #   @return [String] a string identifying how far the stage has
      #     progressed.
      #
      class Stage
        attr_accessor :credit, :progress

        # @param [Hash] attrs corresponds to the class's instance attributes.
        #
        def initialize(attrs = {})
          @credit = attrs[:credit] || []
          @progress = attrs[:progress]
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
useless-doc-0.7.0 lib/useless/doc/core/stage.rb
useless-doc-0.6.5 lib/useless/doc/core/stage.rb
useless-doc-0.6.4 lib/useless/doc/core/stage.rb
useless-doc-0.6.3 lib/useless/doc/core/stage.rb
useless-doc-0.6.2 lib/useless/doc/core/stage.rb
useless-doc-0.6.1 lib/useless/doc/core/stage.rb
useless-doc-0.6.0 lib/useless/doc/core/stage.rb