Class: Faker::Bot::Reflector Abstract Private
- Inherits:
-
Object
- Object
- Faker::Bot::Reflector
- Defined in:
- lib/faker/bot/reflector.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
This class is abstract.
Abstract ‘Faker` Reflector - introspects the `Faker` module
Direct Known Subclasses
Faker::Bot::Reflectors::List, Faker::Bot::Reflectors::Search
Instance Attribute Summary collapse
- #descendants_with_methods ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize ⇒ Reflector
constructor
private
A new instance of Reflector.
Constructor Details
#initialize ⇒ Reflector
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of Reflector.
31 32 33 |
# File 'lib/faker/bot/reflector.rb', line 31 def initialize(*) @descendants_with_methods = Hash.new { |h, k| h[k] = [] } end |
Instance Attribute Details
#descendants_with_methods ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
29 30 31 |
# File 'lib/faker/bot/reflector.rb', line 29 def descendants_with_methods @descendants_with_methods end |