Sha256: ab9e9dcf4cef9d37afd40fd054c962b23ebacbef91040f580be4e136626d965a
Contents?: true
Size: 346 Bytes
Versions: 1
Compression:
Stored size: 346 Bytes
Contents
module Rails module Generators class NotifierGenerator < ::Rails::Generators::NamedBase source_root File.expand_path("../templates", __FILE__) def create_notifier_file template 'notifier.rb', File.join('app/notifiers', class_path, "#{file_name}_notifier.rb") end hook_for :test_framework end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pubsub_notifier-0.1.0 | lib/generators/rails/notifier_generator.rb |