module Cybele::Helpers::ShowFor
Public Instance Methods
add_show_for_gem()
click to toggle source
# File lib/cybele/helpers/show_for.rb, line 14 def add_show_for_gem # Add show_for gem append_file('Gemfile', template_content('show_for/show_for_Gemfile.erb')) end
configure_show_for()
click to toggle source
# File lib/cybele/helpers/show_for.rb, line 6 def configure_show_for # Run the show_for generator bundle_command 'exec rails generate show_for:install' # Add show_for turkish file copy_file 'config/locales/show_for.tr.yml', 'config/locales/show_for.tr.yml' end