class FactoryBot::Decorator
def self.const_missing(name)
def self.const_missing(name) ::Object.const_get(name) end
def initialize(component)
def initialize(component) @component = component end
def method_missing(...) # rubocop:disable Style/MethodMissingSuper
def method_missing(...) # rubocop:disable Style/MethodMissingSuper @component.send(...) end
def respond_to_missing?(name, include_private = false)
def respond_to_missing?(name, include_private = false) @component.respond_to?(name, true) || super end
def send(...)
def send(...) __send__(...) end