class Pennyworth::Settings

Attributes

definitions_dir[RW]
silent[RW]
verbose[RW]

Public Class Methods

new() click to toggle source
# File lib/pennyworth/settings.rb, line 23
def initialize
  @verbose = false
  @silent = false
  @definitions_dir = File.expand_path("~/.pennyworth")
end

Public Instance Methods

boxes_dir() click to toggle source
# File lib/pennyworth/settings.rb, line 29
def boxes_dir
  File.join(@definitions_dir, "/boxes")
end
vagrant_dir() click to toggle source
# File lib/pennyworth/settings.rb, line 33
def vagrant_dir
  File.join(@definitions_dir, "/vagrant")
end
version() click to toggle source
# File lib/pennyworth/settings.rb, line 37
def version
  Pennyworth::VERSION
end