def load_keymap(map) #:nodoc:
      @maps ||= Hash.new
      if @maps[map].nil? && File.file?(File.join(self.storage_path, map.to_s + "_map.yml"))
        @maps[map] = YAML.load(File.open(File.join(self.storage_path, map.to_s + "_map.yml")))
        logger.debug("#{self.class.to_s} lazy loaded #{map} successfully.")
      end
    end
def load_keymap(map) 
      @maps ||= Hash.new
      if @maps[map].nil? && File.file?(File.join(self.storage_path, map.to_s + "_map.yml"))
        @maps[map] = YAML.load(File.open(File.join(self.storage_path, map.to_s + "_map.yml")))
        logger.debug("
      end
    end
def load_keymap ( map ) #:nodoc: @maps ||= Hash . new if @maps [ map ] . nil? && File . file? ( File . join ( self . storage_path , map . to_s + "_map.yml" ) ) @maps [ map ] = YAML . load ( File . open ( File . join ( self . storage_path , map . to_s + "_map.yml" ) ) ) logger . debug ( "#{self.class.to_s} lazy loaded #{map} successfully." ) end end
Lazy loader...
Lazy loader ...