Class: Cardio::Railtie

Inherits:
Rails::Railtie
  • Object
show all
Defined in:
lib/cardio/railtie.rb

Overview

primary railtie for cards

Class Method Summary collapse

Class Method Details

.require_mod_gem(mod_name) ⇒ Object



106
107
108
109
# File 'lib/cardio/railtie.rb', line 106

def self.require_mod_gem mod_name
  require mod_name.name.to_s.tr("-", "/")
rescue LoadError
end