KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Can we expose interfaces in Ruby like we do in java and enforce the Ruby modules or classes to implement the methods defined by interface. One way is to use inheritance and method_missing to achieve the same but is there any other more appropriate approach available ?
Tags (comma-separated)
Save Edits
Cancel