Skip to content

Instantly share code, notes, and snippets.

@titsuki
Created October 8, 2016 01:37
Show Gist options
  • Save titsuki/ba0029777727b2be66146ae6de5fadb1 to your computer and use it in GitHub Desktop.
Save titsuki/ba0029777727b2be66146ae6de5fadb1 to your computer and use it in GitHub Desktop.
class TypeHouse {
has Int @.array;
has $!scalar;
has @.mystery;
}
my @types = TypeHouse.^attributes(:local);
for @types { .type.say }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment