class Cfoo::Factory
Public Class Methods
new(stdout, stderr)
click to toggle source
# File lib/cfoo/factory.rb, line 11 def initialize(stdout, stderr) @stdout, @stderr = stdout, stderr end
Public Instance Methods
cfoo()
click to toggle source
# File lib/cfoo/factory.rb, line 15 def cfoo yaml_parser = YamlParser.new file_system = FileSystem.new(".", yaml_parser) project = Project.new(file_system) parser = Parser.new(file_system) processor = Processor.new(parser, project) renderer = Renderer.new cfoo = Cfoo.new(processor, renderer, @stdout, @stderr) end