Sha256: 53c4b171b645714c820b0d971f8dda0b423b85835b085e8924210c9806517f2a
Contents?: true
Size: 398 Bytes
Versions: 2
Compression:
Stored size: 398 Bytes
Contents
class << BMC attr_writer :parent_controller def parent_controller @parent_controller ||= [ "ApplicationController", "ActionController::Base", ].map(&:safe_constantize).compact.first end attr_writer :parent_mailer def parent_mailer @parent_mailer ||= [ "ApplicationMailer", "ActionMailer::Base", ].map(&:safe_constantize).compact.first end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bmc-1.0.1 | lib/bmc/config.rb |
bmc-1.0.0 | lib/bmc/config.rb |