Sha256: fe3b8ea9d25a7e58e7bc31b12955e8829a0be6d3f3b0c179e9b07c249246be54
Contents?: true
Size: 361 Bytes
Versions: 1
Compression:
Stored size: 361 Bytes
Contents
# frozen_string_literal: true class Mockolate::Types::Array < Mockolate::Types # Public Methods # name: Name of the key specified in params block # has_children: Returns children elements of hash # # Private Methods # _parse_child Returns array with parsed children def parse return name => [].push(*_parse_child) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mockolate-0.1.0 | lib/mockolate/types/array.rb |