Class: EYAML::Util
- Inherits:
-
Object
- Object
- EYAML::Util
- Defined in:
- lib/eyaml/util.rb
Class Method Summary collapse
Class Method Details
.pretty_yaml(some_hash) ⇒ Object
6 7 8 |
# File 'lib/eyaml/util.rb', line 6 def pretty_yaml(some_hash) some_hash.to_yaml.delete_prefix("---\n") end |