Class: Fabrique::YamlBeanFactory

Inherits:
BeanFactory show all
Defined in:
lib/fabrique/yaml_bean_factory.rb

Instance Attribute Summary

Attributes inherited from BeanFactory

#registry, #singletons

Instance Method Summary collapse

Methods inherited from BeanFactory

#get_bean, #load_gem_dependencies, #to_h

Constructor Details

#initialize(path_or_string) ⇒ YamlBeanFactory

Returns a new instance of YamlBeanFactory.



28
29
30
# File 'lib/fabrique/yaml_bean_factory.rb', line 28

def initialize(path_or_string)
  super bean_definition_registry beans_node load_yaml path_or_string
end