module Consult::Utilities

Public Instance Methods

resolve(path) click to toggle source
# File lib/consult/utilities.rb, line 5
def resolve(path)
  return unless path
  pathname = Pathname.new(path)
  pathname.relative? ? Consult.root.join(pathname) : pathname
end