Sha256: 1ba42cbd6f8add22c079dd09abc16d2dff3ae2dd33b1f0c629ced7712ca96e00
Contents?: true
Size: 250 Bytes
Versions: 5
Compression:
Stored size: 250 Bytes
Contents
module EDN module Type include EDN::CoreExt::AllowsMetadata class List < ::Array def self.new(*values) self.[](*values) end def to_edn '(' + self.map(&:to_edn).join(" ") + ')' end end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
edn-1.0.5 | lib/edn/type/list.rb |
edn-1.0.3 | lib/edn/type/list.rb |
edn-1.0.2 | lib/edn/type/list.rb |
edn-1.0.1 | lib/edn/type/list.rb |
edn-1.0.0 | lib/edn/type/list.rb |