Sha256: 35e7ddb14baf801264d8218f88e4266d52c23f90d0ebb3190cea873df319247f
Contents?: true
Size: 562 Bytes
Versions: 19
Compression:
Stored size: 562 Bytes
Contents
module Hyperdrive module Errors module DSL class UnknownArgument < RuntimeError def initialize(argument, method_name) @argument = case argument when Symbol ":#{argument}" else argument.to_s end @method_name = method_name end def message "DSL Error: The argument you supplied (#{@argument}) is not supported by the `#{@method_name}' method." end end end end end
Version data entries
19 entries across 19 versions & 1 rubygems