Sha256: b8a82b8b625b858819633a771eb5042a4d34df87c5ffb878410e7f8b1df6395c
Contents?: true
Size: 576 Bytes
Versions: 4
Compression:
Stored size: 576 Bytes
Contents
module Npmdc class Config DEPEPENDENCY_TYPES = %w(dependencies devDependencies).freeze ENVIRONMENTS = %w(development).freeze attr_accessor :color, :format, :output, :types, :environments, :abort_on_failure attr_writer :path def initialize @color = true @format = :short @output = STDOUT @types = DEPEPENDENCY_TYPES @environments = ENVIRONMENTS @abort_on_failure = false end def path @path ||= Dir.pwd end def path? instance_variable_defined?(:@path) end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
npmdc-0.5.1 | lib/npmdc/config.rb |
npmdc-0.5.0 | lib/npmdc/config.rb |
npmdc-0.4.1 | lib/npmdc/config.rb |
npmdc-0.4.0 | lib/npmdc/config.rb |