Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 351 Bytes

File metadata and controls

20 lines (14 loc) · 351 Bytes

YAMLStar Ruby Binding

Ruby binding for the YAMLStar shared library.

require "yamlstar"

ys = YAMLStar.new
data = ys.load("key: value")
text = ys.dump({"foo" => [["bar"]]})
ys.close

Install the matching libyamlstar release before using this gem:

curl -sSL https://yamlstar.org/install | LIB=1 bash
gem install yamlstar