Sha256: d1682236943c06b711bb80627a54387c181fd46cdd920b45856494cdcf4b27b9
Contents?: true
Size: 382 Bytes
Versions: 2
Compression:
Stored size: 382 Bytes
Contents
# frozen_string_literal: true module TinyFilter module Generators class InstallGenerator < ::Rails::Generators::Base source_root File.expand_path("templates", __dir__) desc "This generator creates an application filter" def copy_application_filter template "application_filter.rb", "app/filters/application_filter.rb" end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tiny_filter-0.1.1 | lib/generators/tiny_filter/install/install_generator.rb |
tiny_filter-0.1.0 | lib/tiny_filter/generators/tiny_filter/install/install_generator.rb |