Class: InputmaskMultiRails::Generators::InstallGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/inputmask_multi_rails/install_generator.rb

Instance Method Summary collapse

Instance Method Details

#copy_public_dataObject



9
10
11
12
13
14
# File 'lib/generators/inputmask_multi_rails/install_generator.rb', line 9

def copy_public_data
  say_status('copying', 'phone-codes.json, phones-ru.json, phones-us.json', :green)
  copy_file 'phone-codes.json', 'public/phone-codes.json'
  copy_file 'phones-ru.json', 'public/phones-ru.json'
  copy_file 'phones-us.json', 'public/phones-us.json'
end