Class: Hanamismith::Builders::PWA

Inherits:
Rubysmith::Builders::Abstract
  • Object
show all
Defined in:
lib/hanamismith/builders/pwa.rb

Overview

Builds project skeleton Progressive Web Application (PWA) manifest.

Instance Method Summary collapse

Instance Method Details

#callObject



11
12
13
14
15
# File 'lib/hanamismith/builders/pwa.rb', line 11

def call
  path = "%project_name%/app/assets/pwa/manifest.webmanifest.erb"
  builder.call(configuration.merge(template_path: path)).render
  configuration
end