# File lib/profligacy/swing.rb, line 177
177:       def each_or_one(component)
178:         if component.respond_to? :each
179:           component.each {|c| yield c }
180:         else
181:           yield component
182:         end
183:       end