Module: LogStash::Config::AST::Unicode

Defined in:
lib/logstash/config/config_ast.rb

Class Method Summary collapse

Class Method Details

.wrap(text) ⇒ Object



324
325
326
# File 'lib/logstash/config/config_ast.rb', line 324

def self.wrap(text)
  return "(" + text.force_encoding(Encoding::UTF_8).inspect + ")"
end