Browse files

Changing to attr_reader for page_size since we re-define the setter

  • Loading branch information...
1 parent 366e86c commit dd1d8842bf029942886a4741338d645036d7f029 @czarneckid czarneckid committed Aug 18, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/leaderboard.rb
View
2 lib/leaderboard.rb
@@ -23,7 +23,7 @@ class Leaderboard
}
attr_reader :leaderboard_name
- attr_accessor :page_size
+ attr_reader :page_size
def initialize(leaderboard_name, options = DEFAULT_OPTIONS, redis_options = DEFAULT_REDIS_OPTIONS)
@leaderboard_name = leaderboard_name

0 comments on commit dd1d884

Please sign in to comment.