Class: Orthoses::MissingName
- Inherits:
-
Object
- Object
- Orthoses::MissingName
- Defined in:
- lib/orthoses/missing_name.rb
Defined Under Namespace
Classes: MissingClass, MissingModule
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(loader) ⇒ MissingName
constructor
A new instance of MissingName.
Constructor Details
#initialize(loader) ⇒ MissingName
Returns a new instance of MissingName.
5 6 7 |
# File 'lib/orthoses/missing_name.rb', line 5 def initialize(loader) @loader = loader end |
Instance Method Details
#call ⇒ Object
9 10 11 12 13 14 |
# File 'lib/orthoses/missing_name.rb', line 9 def call @loader.call.tap do |store| MissingClass.new(store).call MissingModule.new(store).call end end |