class Object
Public Instance Methods
to_yaml_with_decode(*args)
click to toggle source
# File lib/generators/i18n_translation/lib/yaml_waml.rb, line 25 def to_yaml_with_decode(*args) io = args.shift if IO === args.first yamled_str = YamlWaml.decode(to_yaml_without_decode(*args)) io.write(yamled_str) if io return yamled_str end