Sha256: 045460d50f2132db70b81f7009978923119fcb5203c98d478c8258eb755e623d
Contents?: true
Size: 391 Bytes
Versions: 5
Compression:
Stored size: 391 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', File.join('app/cells', class_path, "#{file_name}_cell.rb") end hook_for(:template_engine) hook_for(:test_framework) end end end
Version data entries
5 entries across 5 versions & 1 rubygems