class Boilerpl8::FileSystemOp

Constants

SCHEMA

Protected Instance Methods

download(filepath, filename) click to toggle source
# File lib/boilerpl8.rb, line 160
def download(filepath, filename)
  return filepath
end
resolve(arg, options) click to toggle source
# File lib/boilerpl8.rb, line 154
def resolve(arg, options)
  arg =~ %r'\Afile:(.+)'  or err("#{arg}: unexpected format.")
  filepath = $1
  return filepath, File.basename(filepath)
end