Method: TkVariable#|

Defined in:
lib/tk/variable.rb

#|(other) ⇒ Object



1188
1189
1190
1191
1192
1193
1194
# File 'lib/tk/variable.rb', line 1188

def |(other)
  if other.kind_of?(Array)
    self.to_a | other.to_a
  else
    self.to_i | other.to_i
  end
end