lib/brief/model/definition.rb in brief-1.12.9 vs lib/brief/model/definition.rb in brief-1.13.1

- old
+ new

@@ -8,11 +8,12 @@ :defined_helpers, :defined_actions, :section_mappings, :template_body, :example_body, - :_prompt, + :new_doc_name_block, + :new_doc_template_block, :documentation_path, :example_path, :template_path def initialize(name, options = {}) @@ -114,13 +115,9 @@ if body.is_a?(Hash) options = body elsif body.is_a?(String) self.template_body = body end - end - - def prompt(&block) - self._prompt = block end def has_actions? self.defined_actions.empty? end