Sha256: 8450439474df186a7e2cedd7da34050c916dfa8ccd56f1f3944fb14c0be863be

Contents?: true

Size: 305 Bytes

Versions: 20

Compression:

Stored size: 305 Bytes

Contents

# frozen_string_literal: true

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

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
tocer-18.7.0 lib/tocer/configuration/model.rb
tocer-18.6.0 lib/tocer/configuration/model.rb
tocer-18.5.0 lib/tocer/configuration/model.rb
tocer-18.4.0 lib/tocer/configuration/model.rb
tocer-18.3.0 lib/tocer/configuration/model.rb
tocer-18.2.0 lib/tocer/configuration/model.rb
tocer-18.1.0 lib/tocer/configuration/model.rb
tocer-18.0.0 lib/tocer/configuration/model.rb
tocer-17.5.0 lib/tocer/configuration/model.rb
tocer-17.3.0 lib/tocer/configuration/model.rb
tocer-17.2.0 lib/tocer/configuration/model.rb
tocer-17.1.0 lib/tocer/configuration/model.rb
tocer-17.0.0 lib/tocer/configuration/model.rb
tocer-16.2.1 lib/tocer/configuration/model.rb
tocer-16.2.0 lib/tocer/configuration/model.rb
tocer-16.1.0 lib/tocer/configuration/model.rb
tocer-16.0.3 lib/tocer/configuration/model.rb
tocer-16.0.2 lib/tocer/configuration/model.rb
tocer-16.0.1 lib/tocer/configuration/model.rb
tocer-16.0.0 lib/tocer/configuration/model.rb