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