Sha256: c66d768f6a81d83ad4b4ae7021ac8fc9fbeae3d8387dc225a11ea727ecd1db3d
Contents?: true
Size: 520 Bytes
Versions: 74
Compression:
Stored size: 520 Bytes
Contents
# frozen_string_literal: true require_relative "<%= lib_path %>" 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
74 entries across 74 versions & 1 rubygems