
Mateusz Bialowas
Joined
30 Experience
0 Lessons Completed
0 Questions Solved
Activity
Posted in Liskov Substitution Principle Discussion
or like this
birds.select { |bird| bird.respond_to?(:can_fly?) }
Posted in Liskov Substitution Principle Discussion
I guess:
birds.select { |bird| bird.class.included_modules.include? Flying }
Posted in Liskov Substitution Principle Discussion
This is a good question. Did you find out the answer?