Permalink
Browse files

Switch "our method" to just plain "method".

Not only did it no longer help, it was actually messing up export of the methods in Rakudo.
  • Loading branch information...
1 parent 35ccb2b commit 2787937cd971dc39d80eaeed4111d7b37e2e6a7a @colomon committed Aug 4, 2013
Showing with 5 additions and 5 deletions.
  1. +1 −1 lib/ABC/Duration.pm
  2. +4 −4 lib/ABC/Header.pm
View
@@ -13,7 +13,7 @@ role ABC::Duration {
ABC::Duration.new(:ticks(($top ?? +~$top !! 1).Int / ($bottom ?? +~$bottom !! 2).Int));
}
- our method duration-to-str() {
+ method duration-to-str() {
given $.ticks {
when 1 { ""; }
when 1/2 { "/"; }
View
@@ -3,20 +3,20 @@ use v6;
class ABC::Header {
has @.lines; # array of Pairs representing each line of the ABC header
- our method add-line($name, $data) {
+ method add-line($name, $data) {
self.lines.push($name => $data);
}
- our method get($name) {
+ method get($name) {
self.lines.grep({ .key eq $name });
}
- our method get-first-value($name) {
+ method get-first-value($name) {
my $pair = self.lines.first({ .key eq $name });
$pair ?? $pair.value !! Any;
}
- our method is-valid() {
+ method is-valid() {
self.lines.elems > 1
&& self.lines[0].key eq "X"
&& self.get("T").elems > 0

0 comments on commit 2787937

Please sign in to comment.