module Brutal
The Brutal
namespace.
Public Class Methods
generate!()
click to toggle source
# File lib/brutal.rb, line 13 def self.generate! yaml = File::Read.new.call hash = Yaml.parse(yaml) conf = Configuration.load(hash) ruby = Scaffold.new(conf.header, conf.subject, *conf.actuals, **conf.contexts) File::Write.new.call(ruby) end