Sha256: 8f86954c8cd71e741ff320b3de003ee70447e1c5970e1cb8fcd9541611f86a58
Contents?: true
Size: 462 Bytes
Versions: 3
Compression:
Stored size: 462 Bytes
Contents
# frozen_string_literal: true require "pragmater" module Rubysmith module Extensions # Ensures project skeleton has pragmas. class Pragmater def self.call(...) = new(...).call def initialize configuration, client: ::Pragmater::Inserter.new @configuration = configuration @client = client end def call = client.call && configuration private attr_reader :configuration, :client end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rubysmith-6.2.0 | lib/rubysmith/extensions/pragmater.rb |
rubysmith-6.1.0 | lib/rubysmith/extensions/pragmater.rb |
rubysmith-6.0.0 | lib/rubysmith/extensions/pragmater.rb |