Sha256: 90362c6f5e4569602f5198eb3ec98b8f4a43764e3d718d774af4211ccaf1b7b7

Contents?: true

Size: 432 Bytes

Versions: 13

Compression:

Stored size: 432 Bytes

Contents

require "generators/rspec"

module Shamu
  module Generators
    # @!visibility private
    class ApplicationPresenterGenerator < ::Rails::Generators::Base
      desc "Generate the default application presenter"
      source_root File.expand_path("../templates", __FILE__)

      def copy_application_presenter_file
        copy_file "application_presenter.rb", "app/presenters/application_presenter.rb"
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
shamu-0.0.24 lib/generators/shamu/application_presenter/application_presenter_generator.rb
shamu-0.0.21 lib/generators/shamu/application_presenter/application_presenter_generator.rb
shamu-0.0.20 lib/generators/shamu/application_presenter/application_presenter_generator.rb
shamu-0.0.19 lib/generators/shamu/application_presenter/application_presenter_generator.rb
shamu-0.0.18 lib/generators/shamu/application_presenter/application_presenter_generator.rb
shamu-0.0.17 lib/generators/shamu/application_presenter/application_presenter_generator.rb
shamu-0.0.15 lib/generators/shamu/application_presenter/application_presenter_generator.rb
shamu-0.0.14 lib/generators/shamu/application_presenter/application_presenter_generator.rb
shamu-0.0.13 lib/generators/shamu/application_presenter/application_presenter_generator.rb
shamu-0.0.11 lib/generators/shamu/application_presenter/application_presenter_generator.rb
shamu-0.0.9 lib/generators/shamu/application_presenter/application_presenter_generator.rb
shamu-0.0.8 lib/generators/shamu/application_presenter/application_presenter_generator.rb
shamu-0.0.7 lib/generators/shamu/application_presenter/application_presenter_generator.rb