Sha256: eea64a02d21405242d446d3a59a970e30ee04a955295892128797358bd5aa1fc
Contents?: true
Size: 288 Bytes
Versions: 16
Compression:
Stored size: 288 Bytes
Contents
module CLIUtils # A Behavior to capitalize a Pref answer class CapitalizeBehavior < PrefBehavior # Evaluates the behavior against the text. # @param [Object] text The "text" to evaluate # @return [String] def evaluate(text) text.to_s.capitalize end end end
Version data entries
16 entries across 16 versions & 1 rubygems