/[freeride]/freeride/plugins/rubyide_gui/component_manager.rb
ViewVC logotype

Diff of /freeride/plugins/rubyide_gui/component_manager.rb

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

revision 1.1.1.1 by richkilmer, Fri Dec 20 17:27:31 2002 UTC revision 1.2 by ljulliar, Mon Jan 27 14:01:35 2003 UTC
# Line 83  module FreeRIDE Line 83  module FreeRIDE
83        end        end
84                
85        def add(id = nil)        def add(id = nil)
86          raise "Cannot create more than #{@limit} #{@component_classes}'s" if (@limit > 0 && @limit==@count)          raise "Cannot create more than #{@limit} #{@component_class}'s" if (@limit > 0 && @limit==@count)
87          @count += 1          @count += 1
88          id ||= @count          id ||= @count
89          componentSlot = @base_slot["#{id}"]          componentSlot = @base_slot["#{id}"]

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.2

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