class ConfigTable::PathItem

Public Instance Methods

config_type() click to toggle source
# File lib/rbt/yaml/individual_cookbooks/setup.rb, line 405
def config_type
  'path'
end

Private Instance Methods

check(path) click to toggle source
# File lib/rbt/yaml/individual_cookbooks/setup.rb, line 411
def check(path)
  setup_rb_error "config: --#{@name} requires argument"  unless path
  path[0,1] == '$' ? path : File.expand_path(path)
end