Sha256: 65daa0ae1bcc107456216cc4228f37c4f08867a96a537bcbc751c77b0619d172
Contents?: true
Size: 555 Bytes
Versions: 5
Compression:
Stored size: 555 Bytes
Contents
# frozen_string_literal: true require File.expand_path('../../../../plutonium_generators', __dir__) module Pu module <%= pug_module %> class <%= pug_class %> < Rails::Generators::Base include PlutoniumGenerators::Generator source_root File.expand_path('templates', __dir__) desc '<%= options[:desc] || 'TODO: add description' %>' argument :name def start raise NotImplementedError, "<%= pug_name %>" rescue StandardError => e exception "#{self.class} failed:", e end end end end
Version data entries
5 entries across 5 versions & 1 rubygems