Sha256: f5ca40600e701320886af0b7e0d980d9ff18bf704a92ba18fa2dab10b022fa17
Contents?: true
Size: 489 Bytes
Versions: 16
Compression:
Stored size: 489 Bytes
Contents
# frozen_string_literal: true module Cucumber module Formatter class IgnoreMissingMessages < BasicObject def initialize(receiver) @receiver = receiver end def method_missing(message, *args) @receiver.respond_to?(message) ? @receiver.send(message, *args) : super end def respond_to_missing?(name, include_private = false) @receiver.respond_to?(name, include_private) || super(name, include_private) end end end end
Version data entries
16 entries across 16 versions & 3 rubygems