Class: HumanFormat

Inherits:
TokenString::Format show all
Defined in:
lib/token_string.rb

Instance Method Summary collapse

Methods inherited from TokenString::Format

#convert_from, #convert_to, #validate

Instance Method Details

#join(tokens) ⇒ Object



192
# File 'lib/token_string.rb', line 192

def join(tokens);    tokens.join(' ');   end

#process(token) ⇒ Object



191
# File 'lib/token_string.rb', line 191

def process(token);   token.capitalize;  end

#tokenize(str) ⇒ Object



190
# File 'lib/token_string.rb', line 190

def tokenize(str);          str.split( /\s+/);  end