%PDF- %PDF-
Direktori : /proc/self/root/proc/thread-self/root/opt/alt/ruby33/share/ruby/reline/key_actor/ |
Current File : //proc/self/root/proc/thread-self/root/opt/alt/ruby33/share/ruby/reline/key_actor/composite.rb |
class Reline::KeyActor::Composite def initialize(key_actors) @key_actors = key_actors end def matching?(key) @key_actors.any? { |key_actor| key_actor.matching?(key) } end def get(key) @key_actors.each do |key_actor| func = key_actor.get(key) return func if func end nil end end