Class: Cardio::Railtie

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

Overview

primary railtie for cards

Class Method Summary collapse

Class Method Details

.require_mod_gem(mod_name) ⇒ Object



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

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