Class: Bagel::Tennis::Stats::Stat
- Inherits:
-
Object
- Object
- Bagel::Tennis::Stats::Stat
show all
- Defined in:
- lib/bagel/tennis/stats/stat.rb
Instance Method Summary
collapse
Constructor Details
#initialize(points) ⇒ Stat
Returns a new instance of Stat.
5
6
7
8
|
# File 'lib/bagel/tennis/stats/stat.rb', line 5
def initialize(points)
@points = points
calculate
end
|
Instance Method Details
#name ⇒ Object
10
11
12
|
# File 'lib/bagel/tennis/stats/stat.rb', line 10
def name
raise_not_implemented_error(self.class, __method__)
end
|
#superior ⇒ Object
18
19
20
|
# File 'lib/bagel/tennis/stats/stat.rb', line 18
def superior
raise_not_implemented_error(self.class, __method__)
end
|
#values ⇒ Object
14
15
16
|
# File 'lib/bagel/tennis/stats/stat.rb', line 14
def values
raise_not_implemented_error(self.class, __method__)
end
|