Sha256: dba3ed561d242286e4b320a01fb4656f9c36aa3cb1a60d03f69cca53854a6ad7
Contents?: true
Size: 401 Bytes
Versions: 4
Compression:
Stored size: 401 Bytes
Contents
require 'rails/generators' module Railwind class CalloutGenerator < Rails::Generators::Base source_root File.expand_path('templates', __dir__) def create_component_file copy_file "callout/callout_component.rb", "app/components/callout_component.rb" copy_file "callout/_callout_component.html.erb", "app/components/callout_component.html.erb" end end end
Version data entries
4 entries across 4 versions & 1 rubygems