Sha256: a31ebe56ad81f03c90e85ebe9894110d8941e4042bb47435e70a5f1af8d69da8
Contents?: true
Size: 411 Bytes
Versions: 8
Compression:
Stored size: 411 Bytes
Contents
module Frizz class Site def initialize(host, options={}) @options = { from: "build" }.merge options @local = Frizz::Local.new(path_to_deploy) @remote = Frizz::Remote.new(host) end def deploy! Frizz::Sync.new(local, remote).run! end private attr_reader :local, :remote, :options def path_to_deploy File.expand_path(options[:from]) end end end
Version data entries
8 entries across 8 versions & 1 rubygems