Module: RealTimeRails

Defined in:
lib/real_time_rails/ar.rb,
lib/real_time_rails/config.rb,
lib/real_time_rails/version.rb,
lib/real_time_rails/rt_helper.rb,
lib/real_time_rails/real_time_helper.rb

Defined Under Namespace

Modules: AR, RealTimeHelper Classes: RtrHelper

Constant Summary collapse

VERSION =
"0.0.73"

Class Method Summary collapse

Class Method Details

.configObject



4
5
6
7
8
9
# File 'lib/real_time_rails/config.rb', line 4

def self.config
  @@config_file_options ||= begin
    config_path = Rails.root.join('config','realtimerails.yml')
    YAML.load_file(config_path)[Rails.env.to_s]
  end
end