lib/hat_trick/dsl.rb in hat-trick-0.1.4 vs lib/hat_trick/dsl.rb in hat-trick-0.1.5

- old
+ new

@@ -38,9 +38,13 @@ def button_to(step_name, options={}) button = self.class.send(:create_button_to, step_name, options) hat_trick_wizard.current_step.add_button button end + def hide_button(button_type) + hat_trick_wizard.current_step.delete_button button_type + end + def remaining_step_count hat_trick_wizard.steps_after_current end def adjust_remaining_step_count_by(diff)