Module: Samurai::Core
- Defined in:
- lib/samurai/core.rb,
lib/samurai/core/engine.rb,
lib/samurai/core/version.rb
Defined Under Namespace
Classes: Engine
Constant Summary collapse
- VERSION =
"1.0.0"
Class Method Summary collapse
Class Method Details
.available?(engine_name) ⇒ Boolean
9 10 11 |
# File 'lib/samurai/core.rb', line 9 def self.available?(engine_name) Object.const_defined?("Samurai::#{engine_name.to_s.camelize}") end |