Sha256: ddef950b9edb7043e73d26f88bee25e84d31123ea29256b0c9288dcd048269a7
Contents?: true
Size: 727 Bytes
Versions: 75
Compression:
Stored size: 727 Bytes
Contents
grammar TomlRB::Arrays include TomlRB::Primitive rule array_comments (indent? (comment indent?)*) end rule float_array (float (indent? "," array_comments float)*) { captures[:float].map(&:value) } end rule string_array (string (indent? "," array_comments string)*) { captures[:string].map(&:value) } end rule integer_array (integer (indent? "," array_comments integer)*) { captures[:integer].map(&:value) } end rule datetime_array (datetime (indent? "," array_comments datetime)*) { captures[:datetime].map(&:value) } end rule bool_array (bool (indent? "," array_comments bool)*) { captures[:bool].map(&:value) } end end
Version data entries
75 entries across 75 versions & 2 rubygems