Module: Bgem

Defined in:
lib/bgem.rb

Defined Under Namespace

Classes: Config, Output, Write

Constant Summary collapse

INDENT =
2
SOURCE_FILE =
Dir['src/*.rb'][0]
CONFIG_FILE =
"#{Dir.pwd}/bgem/config.rb"

Class Method Summary collapse

Class Method Details

.run(config_file = CONFIG_FILE) ⇒ Object



10
11
12
13
14
15
# File 'lib/bgem.rb', line 10

def run config_file = CONFIG_FILE
  config = Config.new config_file
  write = Write.new config
  write[Output.new(config.entry).to_s]
  write
end