lib/bones/variablelist.rb in bones-compiler-1.3.1 vs lib/bones/variablelist.rb in bones-compiler-1.6.0

- old
+ new

@@ -13,10 +13,10 @@ # argument +direction+ given. It either returns a list of # input variables or a list of output variables. def select(direction) array = Variablelist.new() self.each do |element| - array.push(element) if ((direction == INPUT) && (element.input?)) || ((direction == OUTPUT) && (element.output?)) + array.push(element) if ((direction == INPUT) && (element.input?)) || ((direction == OUTPUT) && (element.output?)) || (element.direction == INOUT) end return array end # Method to set a representative variable for this variable-