Sha256: d1b5e6c88677d7df14e61385ee593e216aa98fa80d811dd9d977573855a5cd3e
Contents?: true
Size: 695 Bytes
Versions: 1
Compression:
Stored size: 695 Bytes
Contents
# Copyright (C) 2007-2008 Annas Al Maleh # Licensed under the LGPL. See /COPYING.LGPL for more details. require File.dirname(__FILE__) + "/command_handler_chain_link" class CommandHandlerChainFactory @@last_chain_link = nil @@chain = nil def self.set_command_handlers(*command_handler_array) command_handler_array.each do |command_handler| puts "Loading #{command_handler.class.to_s}..." chain_link = CommandHandlerChainLink.new(command_handler) @@last_chain_link.chain_to(chain_link) if @@last_chain_link @@last_chain_link = chain_link @@chain = chain_link unless @@chain end end def self.chain @@chain end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
glimmer-0.1.0.0 | src/command_handler_chain_factory.rb |