Method: FileCreator#templater_options

Defined in:
lib/ccios/file_creator.rb

#templater_options(target) ⇒ Object



10
11
12
13
14
15
16
17
# File 'lib/ccios/file_creator.rb', line 10

def templater_options(target)
  defaults = {
    project_name: target.display_name,
    full_username: git_username,
    date: DateTime.now.strftime("%d/%m/%Y"),
  }
  defaults.merge(@options)
end