Sha256: a5ef1d6a8eb026a7966012606a3d5225f27d0b448e734426f3ba65d177abc7ea
Contents?: true
Size: 494 Bytes
Versions: 2
Compression:
Stored size: 494 Bytes
Contents
module RmagickCaptcha module Generators class RmagickCaptchaGenerator < Rails::Generators::Base source_root File.expand_path('../templates', __FILE__) def generate_rmagick_captcha copy_file "rmagick_captcha_controller.rb", "app/controllers/rmagick_captcha_controller.rb" copy_file "en_rmagick_captcha.yml", "config/locales/en_rmagick_captcha.yml" copy_file "ru_rmagick_captcha.yml", "config/locales/ru_rmagick_captcha.yml" end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rmagick_captcha-0.6.4 | lib/generators/rmagick_captcha/rmagick_captcha_generator.rb |
rmagick_captcha-0.6.3 | lib/generators/rmagick_captcha/rmagick_captcha_generator.rb |