Class: FbGraph::AgeRange
- Inherits:
-
Range
- Object
- Range
- FbGraph::AgeRange
- Defined in:
- lib/fb_graph/age_range.rb
Constant Summary collapse
- DEFAULT_MAX_AGE =
9999
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ AgeRange
constructor
A new instance of AgeRange.
Constructor Details
#initialize(attributes = {}) ⇒ AgeRange
Returns a new instance of AgeRange.
5 6 7 |
# File 'lib/fb_graph/age_range.rb', line 5 def initialize(attributes = {}) super attributes[:min], attributes[:max] || DEFAULT_MAX_AGE end |