Class: Swiftly::Template
Instance Attribute Summary
Attributes inherited from Package
Class Method Summary collapse
-
.default_name ⇒ symbol
Sets the default template name to be used when running find and replace on the the template files.
- .defaults ⇒ Object
Methods inherited from Package
all, file, gather, load, retrieve, set
Class Method Details
.default_name ⇒ symbol
Sets the default template name to be used when running find and replace on the the template files
13 14 15 16 |
# File 'lib/swiftly/template.rb', line 13 def self.default_name :mask end |
.defaults ⇒ Object
18 19 20 21 22 23 24 25 26 27 |
# File 'lib/swiftly/template.rb', line 18 def self.defaults self.set :template, :type => :wordpress do name :default location 'https://github.com/micalexander/mask/archive/master.zip' status :enabled end end |