Class: Cmdlet::Case::DoubleColon
- Inherits:
-
BaseCmdlet
- Object
- BaseCmdlet
- Cmdlet::Case::DoubleColon
- Defined in:
- lib/cmdlet/case/double_colon.rb
Overview
DoubleColon: Double colon case the characters in the given 'string'
Instance Method Summary collapse
-
#call(value) ⇒ String
Value converted to double_colon case.
Methods inherited from BaseCmdlet
Instance Method Details
#call(value) ⇒ String
Returns value converted to double_colon case.
11 12 13 |
# File 'lib/cmdlet/case/double_colon.rb', line 11 def call(value) tokenizer.parse(value, preserve_case: true, separator: '::') end |