Sha256: ba5fa31775de9c3b359c1d68faa4ebd349203a9ec08c14296be5b90ba070a242

Contents?: true

Size: 759 Bytes

Versions: 10

Compression:

Stored size: 759 Bytes

Contents

# frozen_string_literal: true

module Pennyworth
  module Configuration
    # Defines configuration content as the primary source of truth for use throughout the gem.
    Content = Struct.new(
      :action_encodings,
      :action_git_hub,
      :action_http_statuses,
      :action_ruby_gems,
      :action_system_errors,
      :action_system_signals,
      :action_text,
      :action_config,
      :action_version,
      :action_help,
      :alfred_preferences,
      :inflections,
      :git_hub_api_url,
      :git_hub_organization,
      :git_hub_user,
      :http_statuses_url,
      :ruby_gems_api_url,
      :ruby_gems_owner,
      keyword_init: true
    ) do
      def initialize *arguments
        super
        freeze
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
pennyworth-13.1.0 lib/pennyworth/configuration/content.rb
pennyworth-13.0.1 lib/pennyworth/configuration/content.rb
pennyworth-13.0.0 lib/pennyworth/configuration/content.rb
pennyworth-12.3.1 lib/pennyworth/configuration/content.rb
pennyworth-12.3.0 lib/pennyworth/configuration/content.rb
pennyworth-12.2.0 lib/pennyworth/configuration/content.rb
pennyworth-12.1.0 lib/pennyworth/configuration/content.rb
pennyworth-12.0.2 lib/pennyworth/configuration/content.rb
pennyworth-12.0.1 lib/pennyworth/configuration/content.rb
pennyworth-12.0.0 lib/pennyworth/configuration/content.rb