class ActivePubsub::Railtie
Public Class Methods
config_yml_exists?()
click to toggle source
# File lib/active_pubsub/railtie.rb, line 19 def self.config_yml_exists? ::File.exists? config_yml_filepath end
config_yml_filepath()
click to toggle source
# File lib/active_pubsub/railtie.rb, line 23 def self.config_yml_filepath ::Rails.root.join('config', 'rabbit.yml') end
load_config_yml()
click to toggle source
todo: make this do something or remove it
# File lib/active_pubsub/railtie.rb, line 14 def self.load_config_yml config_file = ::YAML.load_file(config_yml_filepath) return unless config_file.is_a?(Hash) end