Tag: refactoring

Daily Refactor #53: Move Method to KanbanPane

The Refactoring Since creating the new KanbanPane class, there has been some wrapper methods to access Kanban’s private utility methods. This refactoring uses move method to move that utility method from Kanban to KanbanPane. Before 1 2 3 4 5 6 7 8 9 10 11 12 # app/models/kanban.rb class Kanban def missing_settings(pane, options={}) skip_status …

Read more