Sha256: f22addda5a5024afdc80d6e974a592ee83db2fd06d52ee8a47c7326c1c969c13
Contents?: true
Size: 400 Bytes
Versions: 5
Compression:
Stored size: 400 Bytes
Contents
class BestPracticeProject::RailsBestPracticesHandler < BestPracticeProject::BaseHandler def command "bundle exec rails_best_practices" end def generate_config system("bundle exec rails_best_practices -g") end def execute system(command) end def installed? return false unless rails? require "rails_best_practices" true rescue LoadError false end end
Version data entries
5 entries across 5 versions & 1 rubygems