Method: CouchbaseModelLogging::Logger#decode
- Defined in:
- lib/couchbase_model_logging/logger.rb
#decode(str) ⇒ Object
50 51 52 53 |
# File 'lib/couchbase_model_logging/logger.rb', line 50 def decode(str) return [] if str.nil? || str.empty? str.split(string_separator).map { |yaml| YAML.load yaml } end |