class Rambulance::Generators::InstallGenerator

Private Instance Methods

longest_error_name_size() click to toggle source
# File lib/generators/rambulance/install_generator.rb, line 51
def longest_error_name_size
  ActionDispatch::ExceptionWrapper.rescue_responses.keys.sort_by(&:size).last.size
end
template_engine() click to toggle source
# File lib/generators/rambulance/install_generator.rb, line 47
def template_engine
  options[:template_engine].try(:to_s).try(:downcase) || 'erb'
end