Sha256: bccba0838bb9e23aed30a529e89383efa78b58eb6457f5dd2a760d57a4b79a7a
Contents?: true
Size: 264 Bytes
Versions: 1
Compression:
Stored size: 264 Bytes
Contents
require 'yaml' module Annal class Parse attr_accessor :raw_data def initialize(raw_data) self.raw_data = raw_data end def data parse_yaml end # Also parses JSON def parse_yaml YAML.load(raw_data) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
annal-0.0.1 | lib/annal/parse.rb |