Sha256: f8bf1c214e31f9f4711facee950ae2db7a0c2d61a8832386194b2290c94175d6

Contents?: true

Size: 419 Bytes

Versions: 4

Compression:

Stored size: 419 Bytes

Contents

require 'rails/generators/named_base'

module ReleaseNotes
  module Generators
    class BroadcastsGenerator < Rails::Generators::NamedBase
      include Rails::Generators::ResourceHelpers

      namespace "release_notes:broadcasts"
      source_root File.expand_path("../templates", __FILE__)

      desc "Generates a Broadcast model with the given NAME (if one does not exist)."

      hook_for :orm
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
release_notes-0.3.4 lib/generators/release_notes/broadcasts_generator.rb
release_notes-0.3.3 lib/generators/release_notes/broadcasts_generator.rb
release_notes-0.2.1 lib/generators/release_notes/broadcasts_generator.rb
release_notes-0.2.0 lib/generators/release_notes/broadcasts_generator.rb