abstract_type
abstract_type copied to clipboard
Results
3
abstract_type issues
Sort by
recently updated
recently updated
newest added
You can't do `Foo.include?(AbstractType)` because subclasses return true as well. Without such a method, the only other way is this, which isn't very nice. ``` ruby begin Foo.new rescue NotImplementedError...
Ruby provide follow method `private` - for instances, `private_class_method` for class methods. I think it would be better to rename abstract methods using that schema. - `abstract_method` -> `abstract` -...