Sha256: deac22191fd1ec564e99b6484bbfeafbc363a8c3c8bf8aa87a5f711ccf80a3dd
Contents?: true
Size: 289 Bytes
Versions: 2
Compression:
Stored size: 289 Bytes
Contents
# frozen_string_literal: true require 'active_support/inflector' module SmartnessDetector class Detect def self.smartness(name) if name == 'RoR' 'Smart!' else 'Dull!' end end def self.pluralize(word) word.pluralize end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
smartness_detector-1.0.0 | lib/smartness_detector/detect.rb |
smartness_detector-0.1.2 | lib/smartness_detector/detect.rb |