lib/pragmater/configuration/model.rb in pragmater-13.0.2 vs lib/pragmater/configuration/model.rb in pragmater-13.0.3
- old
+ new
@@ -1,14 +1,10 @@
# 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
+ Model = Struct.new :comments, :patterns, :root_dir do
def initialize(**)
super
self[:comments] = Array comments
self[:patterns] = Array patterns
end