Method: Proj::Grid#path

Defined in:
lib/proj/grid.rb

#pathString

Returns the path to the grid if it has been downloaded

Returns:

  • (String)


115
116
117
118
119
# File 'lib/proj/grid.rb', line 115

def path
  if self.downloaded?
    File.join(self.context.user_directory, self.name)
  end
end