Class: VContainer::NilContainer

Inherits:
Object
  • Object
show all
Defined in:
lib/vcontainer/nil_container.rb

Instance Method Summary collapse

Instance Method Details

#can_provide?(what) ⇒ Boolean

Returns:

  • (Boolean)


9
10
11
# File 'lib/vcontainer/nil_container.rb', line 9

def can_provide?(what)
  false
end

#provide_for_method(method) ⇒ Object



5
6
7
# File 'lib/vcontainer/nil_container.rb', line 5

def provide_for_method(method)
  []
end