Class: Cmdlet::Case::BackSlash
- Inherits:
-
BaseCmdlet
- Object
- BaseCmdlet
- Cmdlet::Case::BackSlash
- Defined in:
- lib/cmdlet/case/back_slash.rb
Overview
BackSlash: Convert to back slash notation
Instance Method Summary collapse
-
#call(value) ⇒ String
Value converted to back_slash case.
Methods inherited from BaseCmdlet
Instance Method Details
#call(value) ⇒ String
Returns value converted to back_slash case.
11 12 13 |
# File 'lib/cmdlet/case/back_slash.rb', line 11 def call(value) tokenizer.parse(value, preserve_case: true, separator: '\\') end |