Sha256: 60c3aab49c86c182785d1144951de10bb1f929e192a05e8a47e9f4cc37cdc513

Contents?: true

Size: 657 Bytes

Versions: 1

Compression:

Stored size: 657 Bytes

Contents

require 'observed/configurable'

module Observed
  # The configuration for Observed which may be built by Observed::Builder,
  # which may contains configured writers, readers, reporters, observers.
  class Config

    include Observed::Configurable

    # !@attribute [rw] writers
    #  @return [Array<Observed::Writer>]
    attribute :writers

    # !@attribute [rw] readers
    #  @return [Array<Observed::Reader>]
    attribute :readers

    # !@attribute [rw] reporters
    #  @return [Array<Observed::Reporter>]
    attribute :reporters

    # !@attribute [rw] observers
    #  @return [Array<Observed::Observer>]
    attribute :observers

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
observed-0.1.1 lib/observed/config.rb