# -*- encoding: utf-8 -*- # stub: proc_for_case_equality 0.1 ruby lib Gem::Specification.new do |s| s.name = "proc_for_case_equality".freeze s.version = "0.1".freeze s.required_rubygems_version = Gem::Requirement.new(">= 1.2".freeze) if s.respond_to? :required_rubygems_version= s.require_paths = ["lib".freeze] s.authors = ["De Santis Maurizio".freeze] s.cert_chain = ["-----BEGIN CERTIFICATE-----\nMIIDRDCCAiygAwIBAgIBADANBgkqhkiG9w0BAQUFADBIMRowGAYDVQQDDBFkZXNh\nbnRpcy5tYXVyaXppbzEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPy\nLGQBGRYDY29tMB4XDTExMDYzMDExMjIyOVoXDTEyMDYyOTExMjIyOVowSDEaMBgG\nA1UEAwwRZGVzYW50aXMubWF1cml6aW8xFTATBgoJkiaJk/IsZAEZFgVnbWFpbDET\nMBEGCgmSJomT8ixkARkWA2NvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC\nggEBANa1yrC8nNkg8hfVU5LNqgh6WwaXSh6tGPn6V0XtMIyMiHF1ess24NPQqPpl\n43t4hWOEGrcfwmnQso1sJsK+TiQ29dyC9upfRz4H0BxzIUUQNQae2F1d2BfptnUg\nxPFPBhBztkpL9I6O1MeZn8zyCczqEHwV18dwbeLssxbJLloVEIpVQFvOI6DSZB1r\nv4T8EieG79jsS2pf2yK9gWuyTnxq27RlTQxHghC0Xnu79b8TrUkiJt8sbjgGP2Ax\ng08RtZP/owHzNWgLCT4exO68gEnRct/34ju0VL7zaG7TbA1cUFBWEtDR/YQw06+x\nLseG3fuRWZIuENeXUJFLUkLF/Z8CAwEAAaM5MDcwCQYDVR0TBAIwADAdBgNVHQ4E\nFgQUcbnTN20o+PJYFy32iMllDe8CuE0wCwYDVR0PBAQDAgSwMA0GCSqGSIb3DQEB\nBQUAA4IBAQBCkfsLuziCNp2uBRWwyr4b0/Yct172ftsAcgGQilVkaGx3VYu9G3WZ\nuxLoofO1c1pgvPqbjLAKq0EUqLxna54ILER6WVaPk70RtIQc2d3Rkj7CEpTI+veW\nki7IL2OzjVD5Mxad5PEEyCLWrC5Ky2I8OqP8HfwnG0a19YfZRhxAH9XOkQX5HB3O\nt7xlgHGYIHKHfIFCo3UZfaqn354vtbetA0Omt52ZHjt88PsVG0rTrovNctkh61Vq\n99PUQdKGcIRcEsw4zQN3XgwJEqRVV5F6gGQyUY2LIeyyf+58kuHL2UkpVJU7b+7d\n1qFkvs/eJXM+w3TkQ2vaW9KFXQkIewZs\n-----END CERTIFICATE-----\n".freeze] s.date = "2012-01-20" s.description = "proc_for_case_equality - For using procs in case comparisons".freeze s.email = "desantis.maurizio@gmail.com".freeze s.extra_rdoc_files = ["CHANGELOG".freeze, "LICENSE".freeze, "README.rdoc".freeze, "lib/proc_for_case_equality.rb".freeze, "lib/proc_for_case_equality/pfce.rb".freeze] s.files = ["CHANGELOG".freeze, "LICENSE".freeze, "Manifest".freeze, "README.rdoc".freeze, "Rakefile".freeze, "lib/proc_for_case_equality.rb".freeze, "lib/proc_for_case_equality/pfce.rb".freeze, "proc_for_case_equality.gemspec".freeze, "spec/pfce_spec.rb".freeze, "spec/proc_for_case_equality_spec.rb".freeze, "spec/spec_helper.rb".freeze] s.homepage = "https://github.com/ProGNOMmers/proc_for_case_equality".freeze s.rdoc_options = ["--line-numbers".freeze, "--inline-source".freeze, "--title".freeze, "Proc_for_case_equality".freeze, "--main".freeze, "README.rdoc".freeze] s.rubygems_version = "3.5.10".freeze s.summary = "It lets you use procs for case comparisons. Example: all_multiples_of_3 = ProcForCaseEquality.new { |numbers| numbers.all? { |number| number.modulo(3).zero? } } any_multiple_of_3 = ProcForCaseEquality.new { |numbers| numbers.any? { |number| number.modulo(3).zero? } } case [1, 2, 3] when all_multiples_of_3 then puts 'all numbers are multiples of 3' when any_multiple_of_3 then puts 'at least one number is multiple of 3' else puts 'no multiples of 3' end".freeze end