use LaTeX::TikZ::Tools;
-use Any::Moose 'Role';
+use Mouse::Role;
=head1 ATTRIBUTES
my @mods = $cxt->effective_mods;
if (@mods) {
- $body = LaTeX::TikZ::Scope->new
- ->mod(map $_->apply($tikz), @mods)
- ->body($body);
+ $body = LaTeX::TikZ::Scope->new(
+ mods => [ map $_->apply($tikz), @mods ],
+ body => $body,
+ );
}
$body;
=head1 COPYRIGHT & LICENSE
-Copyright 2010 Vincent Pit, all rights reserved.
+Copyright 2010,2011,2012,2013,2014,2015 Vincent Pit, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.