Sha256: cbe526776d1f0d8a98edd08b2f1469c0af80069a8daa2af0d6f9230344cc2e91
Contents?: true
Size: 326 Bytes
Versions: 3
Compression:
Stored size: 326 Bytes
Contents
# frozen_string_literal: true module Phlex module Generators class ComponentGenerator < ::Rails::Generators::NamedBase source_root File.expand_path("templates", __dir__) def create_component template "component.rb", File.join("app/views", class_path, "#{file_name}.rb") end end end end
Version data entries
3 entries across 3 versions & 1 rubygems