Skip to content

Instantly share code, notes, and snippets.

@tbrowder
Last active December 14, 2024 16:37
Raku class Christmas-Tree
# by an Elf-in-training jokester
unit class Box is export {
;
;;;
;
;;;
;;;;;
;;;;;;;
;;has$.h;
;;;;;;;;;;;
;;;has$.urx;;
;;;;;;;;;;;;;;;
;;;has$.ury;;;;;;
;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;has$.w;;;
;;;has$.llx;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;has$.lly;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;;;;;;
method width {
$!urx - $!llx
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment