lib/trailblazer/loader.rb in trailblazer-loader-0.0.7 vs lib/trailblazer/loader.rb in trailblazer-loader-0.0.8

- old
+ new

@@ -23,12 +23,16 @@ pipeline.last.insert(pipeline.last.index(args.last[:before]), args.first) end files = pipeline.([], options).flatten - pp files if ENV['RACK_ENV'] == 'development' + debug(options) load_files(files, &block) + end + + def debug(options) + pp files if options[:debug] end def concept_dirs %w{ callback cell contract operation policy representer view } end