class Attributor::FakeParent
Public Instance Methods
class()
click to toggle source
# File lib/attributor/attribute.rb, line 16 def class FakeParent end
method_missing(name, *_args)
click to toggle source
# File lib/attributor/attribute.rb, line 9 def method_missing(name, *_args) # rubocop:disable Style/MethodMissing ::Kernel.warn "Warning, you have tried to access the '#{name}' method of the 'parent' argument of a Proc-defined :default values." \ "Those Procs should completely ignore the 'parent' attribute for the moment as it will be set to an " \ 'instance of a useless class (until the framework can provide such functionality)' nil end
respond_to_missing?(_method_name)
click to toggle source
# File lib/attributor/attribute.rb, line 5 def respond_to_missing?(_method_name) true end