Sha256: 50ba236b18eef64c0e5f81d487e5934a0d5fec6e176ced463b77cdc421cc26fd
Contents?: true
Size: 544 Bytes
Versions: 15
Compression:
Stored size: 544 Bytes
Contents
# frozen_string_literal: true module ConvenientService module Service module Plugins module HasResultShortSyntax module Error module Commands class AssertArgsCountLowerThanThree < Support::Command attr_reader :args def initialize(args:) @args = args end def call raise Errors::MoreThanTwoArgsArePassed.new if args.size > 2 end end end end end end end end
Version data entries
15 entries across 15 versions & 1 rubygems