Class: Fabrique::YamlBeanFactory
- Inherits:
-
BeanFactory
- Object
- BeanFactory
- Fabrique::YamlBeanFactory
- Defined in:
- lib/fabrique/yaml_bean_factory.rb
Instance Attribute Summary
Attributes inherited from BeanFactory
Instance Method Summary collapse
-
#initialize(path_or_string) ⇒ YamlBeanFactory
constructor
A new instance of YamlBeanFactory.
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 |