Sha256: 0df19b35f321cef0c3219d504493333af81376ca5647ecb4235e1b93cdd8482c
Contents?: true
Size: 402 Bytes
Versions: 8
Compression:
Stored size: 402 Bytes
Contents
module FactoryGirl 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
8 entries across 8 versions & 4 rubygems