Sha256: 43a7415a0b793fbc03738a251576124862b586a3d5a62c4a6dcd3336cb7d2e1e

Contents?: true

Size: 353 Bytes

Versions: 20

Compression:

Stored size: 353 Bytes

Contents

# frozen_string_literal: true

module Pragmater
  module Configuration
    # Defines the content of the configuration for use throughout the gem.
    Model = Struct.new :comments, :patterns, :root_dir do
      def initialize(**)
        super
        self[:comments] = Array comments
        self[:patterns] = Array patterns
      end
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
pragmater-16.0.0 lib/pragmater/configuration/model.rb
pragmater-15.7.0 lib/pragmater/configuration/model.rb
pragmater-15.6.0 lib/pragmater/configuration/model.rb
pragmater-15.5.0 lib/pragmater/configuration/model.rb
pragmater-15.4.0 lib/pragmater/configuration/model.rb
pragmater-15.3.0 lib/pragmater/configuration/model.rb
pragmater-15.2.0 lib/pragmater/configuration/model.rb
pragmater-15.1.0 lib/pragmater/configuration/model.rb
pragmater-15.0.0 lib/pragmater/configuration/model.rb
pragmater-14.6.0 lib/pragmater/configuration/model.rb
pragmater-14.4.0 lib/pragmater/configuration/model.rb
pragmater-14.3.0 lib/pragmater/configuration/model.rb
pragmater-14.2.0 lib/pragmater/configuration/model.rb
pragmater-14.1.1 lib/pragmater/configuration/model.rb
pragmater-14.1.0 lib/pragmater/configuration/model.rb
pragmater-14.0.0 lib/pragmater/configuration/model.rb
pragmater-13.2.1 lib/pragmater/configuration/model.rb
pragmater-13.2.0 lib/pragmater/configuration/model.rb
pragmater-13.1.0 lib/pragmater/configuration/model.rb
pragmater-13.0.3 lib/pragmater/configuration/model.rb