Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Class variable is not invited to party

  • Loading branch information...
commit 73b4b6044dbb7bc1edc60fec1eec5c0d6bac2a80 1 parent d3b30c6
Kyle Neath authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/burndown/milestone_event.rb
2  lib/burndown/milestone_event.rb
View
@@ -13,7 +13,7 @@ def prev_record
end
def num_tickets_open
- @@num_tickets_open = self.open_tickets.split(',').size
+ @num_tickets_open ||= self.open_tickets.split(',').size
end
def tickets_opened
Please sign in to comment.
Something went wrong with that request. Please try again.