Method: Molder::Template#initialize

Defined in:
lib/molder/template.rb

#initialize(config:, name:, indexes:, attributes: {}, command:, options: {}) ⇒ Template



6
7
8
9
10
11
12
13
# File 'lib/molder/template.rb', line 6

def initialize(config:, name:, indexes:, attributes: {}, command:, options: {})
  self.config     = config
  self.name       = name
  self.indexes    = indexes
  self.command    = command
  self.options    = options
  self.attributes = self.class.normalize(attributes)
end