Module: AbstractReflection::ClassMethods
- Defined in:
- lib/abstract_reflection.rb
Instance Method Summary collapse
-
#codebase ⇒ Array<Class>, Class
A mirror has to reflect on something.
Instance Method Details
#codebase ⇒ Array<Class>, Class
A mirror has to reflect on something. file mirrors on files or directories, VM mirrors on the running VM or a remote instance and so on… This method allows you to query what kind of object you need to prepare to use it.
13 14 15 |
# File 'lib/abstract_reflection.rb', line 13 def codebase raise NotImplementedError, "#{self} should have implemented #codebase" end |