Last active
November 28, 2016 22:53
-
-
Save adaptiveoptics/6c58095c5dd99d725487989c282f9214 to your computer and use it in GitHub Desktop.
role problem
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#|{ | |
Base role for Antennas | |
} | |
role HG::Antenna | |
{ | |
has $.receiver is rw; | |
has $.transmitter is rw; | |
has Str $.recv-format is rw = 'html'; | |
has Str $.xmit-format is rw = 'html'; | |
method connect() {...} | |
method sendto-receiver() {...} | |
method getfor-transmitter() {...} | |
method transmit() {...} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment