Sha256: 21c253e8f62abcfb5c45c7055d11cd1efce9aa613a2d51f4cf2a9c0ce52b27a1
Contents?: true
Size: 717 Bytes
Versions: 11
Compression:
Stored size: 717 Bytes
Contents
class TestArray def initialize end def test_in_arg(numbers_array) numbers_array end def test_nested_one_level(nested_one_level) nested_one_level end def test_nested_two_levels(nested_two_levels) nested_two_levels end def test_nested_three_levels(nested_three_levels) nested_three_levels end def test_hash_nested(hash_nested) hash_nested end private def data_to_analyze numbers_array = [2, 7.1, 8] nested_one_level = [numbers_array, :mexico] nested_two_levels = [nested_one_level, numbers_array, :mexico] nested_three_levels = [nested_two_levels, nested_one_level, numbers_array, :mexico] hash_nested = [{ emiliano: numbers_array }] end end
Version data entries
11 entries across 11 versions & 1 rubygems