class Steep::Project
def initialize(steepfile_path:, base_dir: nil)
def initialize(steepfile_path:, base_dir: nil) @targets = [] @steepfile_path = steepfile_path @base_dir = if base_dir base_dir elsif steepfile_path steepfile_path.parent else raise ArgumentError, "Project#initialize(base_dir:): neither base_dir nor steepfile_path given" end if steepfile_path and !steepfile_path.absolute? raise ArgumentError, "Project#initialize(steepfile_path:): steepfile_path should be absolute path" end end