Class: Orthoses::MissingName

Inherits:
Object
  • Object
show all
Defined in:
lib/orthoses/missing_name.rb

Defined Under Namespace

Classes: MissingClass, MissingModule

Instance Method Summary collapse

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

#callObject



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