Method: Inspec::Resources::MysqlConf#abs_path

Defined in:
lib/resources/mysql_conf.rb

#abs_path(dir, f) ⇒ Object



120
121
122
123
# File 'lib/resources/mysql_conf.rb', line 120

def abs_path(dir, f)
  return f if f.start_with? '/'
  File.join(dir, f)
end