Sha256: 60156f0a9c9630ed4ce71a0d0da3fd8510b4ef2458e79feaf480646ae0ca2f9d
Contents?: true
Size: 359 Bytes
Versions: 2
Compression:
Stored size: 359 Bytes
Contents
module Light module Decorator module Generators class InstallGenerator < ::Rails::Generators::Base source_root File.expand_path('../templates', __FILE__) def create_application_decorator template 'application_decorator.rb', File.join('app/decorators', 'application_decorator.rb') end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
light-decorator-1.0.1 | lib/generators/light/decorator/install/install_generator.rb |
light-decorator-1.0.0 | lib/generators/light/decorator/install/install_generator.rb |