File: text_note.rb

package info (click to toggle)
mikutter 5.1.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 9,780 kB
  • sloc: ruby: 22,912; sh: 186; makefile: 21
file content (13 lines) | stat: -rw-r--r-- 237 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
# -*- coding: utf-8 -*-

module Plugin::Score
  class TextNote < Diva::Model
    register :score_text, name: "Text Note"

    field.string :description, required: true

    def inspect
      "text note(#{description})"
    end
  end
end