Class: SmartnessDetector::Detect
- Inherits:
-
Object
- Object
- SmartnessDetector::Detect
- Defined in:
- lib/smartness_detector/detect.rb
Class Method Summary collapse
Class Method Details
.pluralize(word) ⇒ Object
15 16 17 |
# File 'lib/smartness_detector/detect.rb', line 15 def self.pluralize(word) word.pluralize end |
.smartness(name) ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/smartness_detector/detect.rb', line 7 def self.smartness(name) if name == 'RoR' 'Smart!' else 'Dull!' end end |