![]() System : Linux host44.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64 User : vapecompany ( 2719) PHP Version : 7.4.33 Disable Function : NONE Directory : /proc/self/root/opt/alt/ruby33/share/ruby/reline/key_actor/ |
Upload File : |
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