Sha256: c25323e8a7b5f09c87c938622b56d1a5a0d47ba0d8b56861249529c4c83d08c8
Contents?: true
Size: 513 Bytes
Versions: 26
Compression:
Stored size: 513 Bytes
Contents
module Foobara class Command module Concerns module Description include Concern module ClassMethods def description(*args) if args.empty? @description elsif args.size == 1 @description = args.first else # :nocov: raise ArgumentError, "wrong number of arguments (#{args.size} for 0 or 1)" # :nocov: end end end end end end end
Version data entries
26 entries across 26 versions & 1 rubygems