Sha256: 9ec1956ef3464beea5bc90d165a7ca65194e8f384e1351b58e9ddb7823ce30a9

Contents?: true

Size: 444 Bytes

Versions: 2

Compression:

Stored size: 444 Bytes

Contents

# frozen_string_literal: true

module Gistory
  class Configuration
    attr_accessor :gem_name, :max_fetched_commits
    attr_writer :all_branches, :output_commit_hashes_only

    def initialize
      @max_fetched_commits = 100
      @all_branches = false
      @output_commit_hashes_only = false
    end

    def all_branches?
      @all_branches
    end

    def output_commit_hashes_only?
      @output_commit_hashes_only
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gistory-0.4.0 lib/gistory/configuration.rb
gistory-0.3.0 lib/gistory/configuration.rb