Module: Brutal::Yaml

Defined in:
lib/brutal/yaml.rb

Overview

Brutal::Yaml

Since:

  • 1.1.0

Class Method Summary collapse

Class Method Details

.parse(yaml) ⇒ Object

Since:

  • 1.1.0


10
11
12
# File 'lib/brutal/yaml.rb', line 10

def self.parse(yaml)
  ::YAML.safe_load(yaml, symbolize_names: false)
end