lib/brief/dsl.rb in brief-1.11.8 vs lib/brief/dsl.rb in brief-1.11.9

- old
+ new

@@ -11,9 +11,13 @@ # content def view(name, &block) Brief.views[name.to_sym] = block end + def href_builder(&block) + Brief.href_builder = block + end + # Register a new command for this briefcase. # # Pass the name of the command, options, and a block. # # The block will get called with the briefcase, and any arguments