Method: TkVariable#-

Defined in:
lib/tk/variable.rb

#-(other) ⇒ Object



1209
1210
1211
1212
1213
1214
1215
# File 'lib/tk/variable.rb', line 1209

def -(other)
  if other.kind_of?(Array)
    self.to_a - other
  else
    number(self._value) - other
  end
end