Class: Cmdlet::Case::Lower
- Inherits:
-
BaseCmdlet
- Object
- BaseCmdlet
- Cmdlet::Case::Lower
- Defined in:
- lib/cmdlet/case/lower.rb
Overview
Lower: Lower case the characters in the given 'string'
Instance Method Summary collapse
-
#call(value) ⇒ String
Value converted to lower case.
Methods inherited from BaseCmdlet
Instance Method Details
#call(value) ⇒ String
Returns value converted to lower case.
11 12 13 14 15 |
# File 'lib/cmdlet/case/lower.rb', line 11 def call(value) return '' if value.nil? value.downcase end |