Sha256: 44e1386b717ba4f9bcd507cb4f1491db411798caf806252ccb6fa0dcd5a870b4

Contents?: true

Size: 274 Bytes

Versions: 6

Compression:

Stored size: 274 Bytes

Contents

module Rubycritic
  def self.configuration
    @configuration ||= Configuration.new
  end

  class Configuration
    attr_reader :root

    def initialize
      self.root = "tmp/rubycritic"
    end

    def root=(path)
      @root = File.expand_path(path)
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rubycritic-0.0.14 lib/rubycritic/configuration.rb
rubycritic-0.0.13 lib/rubycritic/configuration.rb
rubycritic-0.0.12 lib/rubycritic/configuration.rb
rubycritic-0.0.11 lib/rubycritic/configuration.rb
rubycritic-0.0.10 lib/rubycritic/configuration.rb
rubycritic-0.0.9 lib/rubycritic/configuration.rb