module Sys::Proc::Concern::StaticInstance::ClassMethods

Class methods

Public Instance Methods

method_missing(method, *args, &block) click to toggle source

Provides access to instance methods

Calls superclass method
# File lib/sys/proc/concern/static_instance.rb, line 22
def method_missing(method, *args, &block)
  if respond_to_missing?(method)
    new.public_send(method, *args, &block)
  else
    super
  end
end
respond_to_missing?(method, include_private = false) click to toggle source
Calls superclass method
# File lib/sys/proc/concern/static_instance.rb, line 30
def respond_to_missing?(method, include_private = false)
  return true if new.respond_to?(method, include_private)

  super(method, include_private)
end