D
dave
can't find the correct standalone comparator object for not
equals....in irb
g='give'
g.>('a') >>true
g.<('h') >>true
g.==('give') >>true
.....how does one DO not equals because g.<>('able') >>irb error OR
g.!=('able') >>irb error
.....also do not understand why:
at_hotel=true
if at_hotel puts 'hi' end >>> gives a irb syntax error
....BUT.....
if at_hotel
puts 'hi'
end >>>is oka in irb????
equals....in irb
g='give'
g.>('a') >>true
g.<('h') >>true
g.==('give') >>true
.....how does one DO not equals because g.<>('able') >>irb error OR
g.!=('able') >>irb error
.....also do not understand why:
at_hotel=true
if at_hotel puts 'hi' end >>> gives a irb syntax error
....BUT.....
if at_hotel
puts 'hi'
end >>>is oka in irb????