Duck typing refers to the concept that in a dynamically typed language like Ruby, an object's suitability is based on whether it implements the expected methods or behaviors, rather than its class or type. So if an object "walks like a duck and quacks like a duck," it can be treated like a duck even if it's not an actual Duck class instance.