module Conjur::Policy::Ruby::Delegation
Public Instance Methods
method_missing(sym, *args, &block)
click to toggle source
# File lib/conjur/policy/ruby/loader.rb, line 173 def method_missing(sym, *args, &block) if scope.respond_to?(sym) scope.send sym, *args, &block else raise NoMethodError, "undefined method `#{sym}` for #{scope}:#{scope.class}" end end
respond_to?(sym, include_all = false)
click to toggle source
Calls superclass method
# File lib/conjur/policy/ruby/loader.rb, line 169 def respond_to? sym, include_all = false super or scope.respond_to?(sym, include_all) end