Class: Cmdlet::BaseCmdlet

Inherits:
Object
  • Object
show all
Defined in:
lib/cmdlet/base_cmdlet.rb

Overview

base cmdlet provides an interface for cmdlets

Instance Method Summary collapse

Instance Method Details

#call(value) ⇒ Object



6
7
8
# File 'lib/cmdlet/base_cmdlet.rb', line 6

def call(value)
  value
end

#tokenizerObject

String tokenizer will clean up a string so that all sorts of case formatted strings can be represented in a consistent fashion



13
14
15
# File 'lib/cmdlet/base_cmdlet.rb', line 13

def tokenizer
  @_tokenizer ||= KConfig.configuration.cmdlet.tokenizer
end