Sha256: 653b2461c3d7bed7f58a089f320b75e7bf6fd2ac60a5248fc89af05dab0b1768
Contents?: true
Size: 247 Bytes
Versions: 23
Compression:
Stored size: 247 Bytes
Contents
module FbGraph class AgeRange < Range DEFAULT_MAX_AGE = 9999 def initialize(attributes = {}) super attributes[:min], attributes[:max] || DEFAULT_MAX_AGE end alias_method :min, :first alias_method :max, :last end end
Version data entries
23 entries across 23 versions & 1 rubygems
Version | Path |
---|---|
fb_graph-2.6.5 | lib/fb_graph/age_range.rb |
fb_graph-2.6.4 | lib/fb_graph/age_range.rb |
fb_graph-2.6.3 | lib/fb_graph/age_range.rb |