Class: CiTasks::Config
- Inherits:
-
Object
- Object
- CiTasks::Config
- Defined in:
- lib/ci_tasks/config.rb
Class Method Summary collapse
Class Method Details
.configuration ⇒ Object
3 4 5 |
# File 'lib/ci_tasks/config.rb', line 3 def self.configuration rails? ? :rails : :sinatra end |
.rails? ⇒ Boolean
7 8 9 |
# File 'lib/ci_tasks/config.rb', line 7 def self.rails? Rails rescue nil end |