Sha256: ee4b4499ce9135b2a85709b4bdf4a8b7a67297f47cefdd12b394413d0b73e08e
Contents?: true
Size: 588 Bytes
Versions: 2
Compression:
Stored size: 588 Bytes
Contents
module TestsDoc class Configuration def self.config(property, default = nil) attr_writer property define_method property do value = instance_variable_get("@#{property}") value.nil? ? default : instance_variable_get("@#{property}") end end config :changes_whitelist_regex, "" config :add_spec_file_number, true config :add_index_timestamps, true config :debug, false config :logger, TestsDoc::Logger config :changes_whitelist_regexes, [] config :root_folder, "tests-doc" config :doc_folder, "api" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tests_doc-0.0.2 | lib/tests_doc/configuration.rb |
tests_doc-0.0.1 | lib/tests_doc/configuration.rb |