Sha256: a3b9b4e49304b4ab9fda3cb8f5b3e02c6032325d7e8bc2b388b397341e695076
Contents?: true
Size: 416 Bytes
Versions: 1
Compression:
Stored size: 416 Bytes
Contents
module AmpHelper class AmpHelperGenerator < Rails::Generators::Base desc 'Initialize AmpHelper' def create_initializer_file initializer 'amp_helper.rb' do <<-FILE.strip_heredoc AmpHelper.configure do |config| # Configure ratina version name format For CarrierWave::Uploader # config.format_2x = '%s_2x' end FILE end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
amp_helper-0.1.3 | lib/amp_helper/generator.rb |