class Shellject::SaveDirectory

Models the shelljections directory as a repository.

Attributes

path[R]

Public Class Methods

new(path) click to toggle source
# File lib/shellject/save_directory.rb, line 8
def initialize(path)
  @path = Pathname.new path
end

Public Instance Methods

path_for(name) click to toggle source
# File lib/shellject/save_directory.rb, line 12
def path_for(name)
  path.join name
end