Sha256: 57a18d13fc882b8a29129fa1fd20117245dc1dc91643c57c0a37b83fdc7063b7

Contents?: true

Size: 355 Bytes

Versions: 29

Compression:

Stored size: 355 Bytes

Contents

require 'generators/cells/base'

module Rails
  module Generators
    class CellGenerator < ::Cells::Generators::Base
      source_root File.expand_path('../../templates', __FILE__)

      def create_cell_file
        template 'cell.rb', "#{base_path}_cell.rb"
      end

      hook_for(:template_engine)
      hook_for(:test_framework)
    end
  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
cells-3.6.6 lib/generators/rails/cell_generator.rb
cells-3.6.5 lib/generators/rails/cell_generator.rb
cells-3.6.4 lib/generators/rails/cell_generator.rb
cells-3.6.3 lib/generators/rails/cell_generator.rb
cells-3.6.2 lib/generators/rails/cell_generator.rb
cells-3.6.1 lib/generators/rails/cell_generator.rb
cells-3.6.0 lib/generators/rails/cell_generator.rb
cells-3.5.6 lib/generators/rails/cell_generator.rb
cells-3.5.5 lib/generators/rails/cell_generator.rb