method that returns true or false ends with ?
ex:
empty?
method that changes the state of the object ends with!
save!
built-in methods with !
upcase!, chomp!, sort!, reverse!
張貼留言
沒有留言:
張貼留言