pedromsantos/glenn

View on GitHub
src/abcNotation/abcDuration.ts

Summary

Maintainability
A
55 mins
Test Coverage
A
100%
import { DurationPrimitives } from '../primitives/Duration';

export class AbcDuration {
  constructor(private readonly duration: DurationPrimitives) {}

  toString() {
    return `L:${this.duration.fraction}`;
  }
}