require "modular/version" module Modular if defined?(Rails) && defined?(Rails::Engine) class Engine < ::Rails::Engine require 'modular/engine' end end end