Sha256: 768ec1dc84b49a595f262c1af00f32092d688c6b0c7a444592fd3cdc63b7ea04
Contents?: true
Size: 401 Bytes
Versions: 6
Compression:
Stored size: 401 Bytes
Contents
module FactoryBot class Decorator < BasicObject undef_method :== def initialize(component) @component = component end def method_missing(name, *args, &block) @component.send(name, *args, &block) end def send(symbol, *args, &block) __send__(symbol, *args, &block) end def self.const_missing(name) ::Object.const_get(name) end end end
Version data entries
6 entries across 6 versions & 1 rubygems