Sha256: 5414a32ab6141228ac7220872dceb83ddc1f081a7687e8c6eb46f7d8ad7962a5
Contents?: true
Size: 408 Bytes
Versions: 2
Compression:
Stored size: 408 Bytes
Contents
require 'rails/generators' module Railwind class ProgressGenerator < Rails::Generators::Base source_root File.expand_path('templates', __dir__) def create_component_file copy_file "progress/progress_component.rb", "app/components/progress_component.rb" copy_file "progress/_progress_component.html.erb", "app/components/progress_component.html.erb" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
railwind-0.1.26 | lib/railwind/generators/progress_generator.rb |
railwind-0.1.25 | lib/railwind/generators/progress_generator.rb |