Class: Abstractable::NotImplementedInfoFinder
- Inherits:
-
Object
- Object
- Abstractable::NotImplementedInfoFinder
- Defined in:
- lib/abstractable/not_implemented_info_finder.rb
Overview
this class can find to information of unimplemented abstract method
Instance Method Summary collapse
-
#find(klass) ⇒ Object
find(klass) -> hash.
-
#find_from_singleton(klass) ⇒ Object
find_from_singleton(klass) -> hash singleton_class version find.
Instance Method Details
#find(klass) ⇒ Object
find(klass) -> hash
Returns an hash as information of unimplemented abstract method. hash format is {class => array of unimplemented method in class, … }
11 12 13 |
# File 'lib/abstractable/not_implemented_info_finder.rb', line 11 def find(klass) find_from_pedigree_stream(PedigreeStream.new(klass)) end |
#find_from_singleton(klass) ⇒ Object
find_from_singleton(klass) -> hash singleton_class version find.
17 18 19 |
# File 'lib/abstractable/not_implemented_info_finder.rb', line 17 def find_from_singleton(klass) find_from_pedigree_stream(SingletonPedigreeStream.new(klass)) end |