Class: YamlSmoosher
- Inherits:
-
Object
- Object
- YamlSmoosher
- Defined in:
- lib/yaml_smoosher.rb
Constant Summary collapse
- VERSION =
"1.0.0"
Class Method Summary collapse
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(path_to_folder) ⇒ YamlSmoosher
constructor
A new instance of YamlSmoosher.
Constructor Details
#initialize(path_to_folder) ⇒ YamlSmoosher
Returns a new instance of YamlSmoosher.
14 15 16 |
# File 'lib/yaml_smoosher.rb', line 14 def initialize(path_to_folder) @path_to_folder = path_to_folder end |
Class Method Details
.call(args) ⇒ Object
9 10 11 |
# File 'lib/yaml_smoosher.rb', line 9 def call(args) new(args).call end |
Instance Method Details
#call ⇒ Object
18 19 20 21 22 23 24 25 |
# File 'lib/yaml_smoosher.rb', line 18 def call result = {} parse_yaml_files(result) parse_yaml_erb_files(result) result end |