Sha256: 86deb67e44a4dc22ea22df15fda0be484955c70b308c3e2039b30062cab28db8
Contents?: true
Size: 415 Bytes
Versions: 3
Compression:
Stored size: 415 Bytes
Contents
module Npmdc class Config DEPEPENDENCY_TYPES = %w(dependencies devDependencies).freeze attr_accessor :color, :format, :output, :types attr_writer :path def initialize @color = true @format = :short @output = STDOUT @types = DEPEPENDENCY_TYPES end def path @path ||= Dir.pwd end def path? instance_variable_defined?(:@path) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
npmdc-0.3.1 | lib/npmdc/config.rb |
npmdc-0.3.0 | lib/npmdc/config.rb |
npmdc-0.2.5 | lib/npmdc/config.rb |