Sha256: 49060d5f4b3fa8e49568df31bd3129af1f127e19f05c1a2b966cb8d93104a432
Contents?: true
Size: 287 Bytes
Versions: 5
Compression:
Stored size: 287 Bytes
Contents
module UtilMacro def parse_yaml(yaml) parser = I18nFlow::Parser.new(yaml) parser.parse! parser.root_proxy end def create_file(path, content) FakeFS::FakeFile.new.tap do |file| file.content = content FakeFS::FileSystem.add(path, file) end end end
Version data entries
5 entries across 5 versions & 1 rubygems