module Grandfather
encoding utf-8
Constants
- VERSION
Public Class Methods
configure() { |config| ... }
click to toggle source
Create a config object
# File lib/grandfather.rb, line 16 def self.configure config = Config.new yield config config end
process!(config)
click to toggle source
Starts processing files
# File lib/grandfather.rb, line 23 def self.process!(config) @files = Path.list_valid(config.file, config.recursive).map { |file| Md.new(file) } Combine.new(@files, config).combine! end