/[freeride]/freeride/freebase/databus.rb
ViewVC logotype

Diff of /freeride/freebase/databus.rb

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by curthibbs, Mon May 27 08:46:13 2002 UTC revision 1.5 by ljulliar, Fri Jun 14 14:47:46 2002 UTC
# Line 518  module FreeBASE Line 518  module FreeBASE
518          end          end
519          super          super
520        end        end
521          
522      end      end
523            
524      ##      ##
# Line 585  module FreeBASE Line 585  module FreeBASE
585          @queue.clear          @queue.clear
586          @slot.notify(:notify_queue_clear)          @slot.notify(:notify_queue_clear)
587        end        end
588    
589          ##
590          # Return a given element in the queue. Leave it in place
591          #   notification :none
592          #   return: the value of the element at index
593          def [] (index)
594            @queue[index]
595          end
596                
597      end      end
598            
# Line 644  module FreeBASE Line 652  module FreeBASE
652        def clear        def clear
653          @stack.clear          @stack.clear
654        end        end
655    
656          ##
657          # Return a given element in the stack. Leave it in place
658          #   notification :none
659          #   return: the value of the element at index
660          def [] (index)
661            @queue[index]
662          end
663          
664      end      end
665            
666      ##      ##

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26