| 1 | package Langertha::Role::Temperature; | ||
| 2 | # ABSTRACT: Role for an engine that can have a temperature setting | ||
| 3 | 190 | our $VERSION = '0.505'; | |
| 4 | 190 | ▶ | use Moose::Role; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 190 | has temperature => ( | |
| 7 | isa => 'Num', | ||
| 8 | is => 'ro', | ||
| 9 | predicate => 'has_temperature', | ||
| 10 | ); | ||
| 11 | |||
| 12 | |||
| 13 | |||
| 14 | 190 | 1; | |
| 15 | |||
| 16 | __END__ | ||