Sha256: a0020360dc69feaec0c70f0262885bf035eeb68253834f06747e629582180596
Contents?: true
Size: 902 Bytes
Versions: 3
Compression:
Stored size: 902 Bytes
Contents
require 'generators/transponder' require 'generators/transponder/resource_helpers' module Transponder module Generators class InstallGenerator < Base include Transponder::Generators::ResourceHelpers def create_services directory 'services', 'app/assets/javascripts/services' end def create_presenters directory 'presenters', 'app/assets/javascripts/presenters' end def create_helpers directory 'helpers', 'app/assets/javascripts/helpers' end def create_initializers directory 'initializers', 'app/assets/javascripts/initializers' end def add_setup template 'setup.coffee', 'app/assets/javascripts/initializers/setup.coffee' end def add_manifest template 'manifest.coffee', 'app/assets/javascripts/initializers/manifest.coffee' end end end end
Version data entries
3 entries across 3 versions & 1 rubygems