Method: Plate::Builder#initialize
- Defined in:
- lib/plate/builder.rb
#initialize(source, destination, options = {}) ⇒ Builder
Create a new instance of the builder for the given site source, destination and options.
In most cases this should be initialized from the command line utilities.
37 38 39 40 41 42 43 |
# File 'lib/plate/builder.rb', line 37 def initialize(source, destination, = {}) @source = source @destination = destination @metadata = {} @options = Hash === ? .clone : {} @options.symbolize_keys! end |