Duck Typing (Ruby)
Duck typing is Ruby's approach to types: what matters is whether an object responds to the methods you call, not its class.
Duck typing is Ruby's approach to types: what matters is whether an object responds to the methods you call, not its class.