Sha256: 798e516279563a7b54e4e72d5898f36007b9ca0fb42a16d8db89541c04126d60

Contents?: true

Size: 298 Bytes

Versions: 2

Compression:

Stored size: 298 Bytes

Contents

# frozen_string_literal: true

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

    def initialize
      @max_fetched_commits = 100
      @all_branches = false
    end

    def all_branches?
      @all_branches
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gistory-0.2.1 lib/gistory/configuration.rb
gistory-0.2.0 lib/gistory/configuration.rb