class Praroter::FillyBucket::BucketState
Public Instance Methods
empty?()
click to toggle source
# File lib/praroter/filly_bucket/bucket_state.rb, line 5 def empty? level <= 0 end
full?()
click to toggle source
# File lib/praroter/filly_bucket/bucket_state.rb, line 9 def full? level >= capacity end