Sh3ll
OdayForums


Server : LiteSpeed
System : Linux premium84.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
User : claqxcrl ( 523)
PHP Version : 8.1.32
Disable Function : NONE
Directory :  /proc/thread-self/root/opt/alt/ruby33/share/ruby/reline/key_actor/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //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

ZeroDay Forums Mini