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

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

Class Method Summary collapse

Class Method Details

.wrap(text) ⇒ Object



279
280
281
# File 'lib/logstash/config/config_ast.rb', line 279

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