Sha256: f314226328b826527b4145ac297e2bc19d47f237d3c8fdc86a22b5c0f56217ca
Contents?: true
Size: 268 Bytes
Versions: 7
Compression:
Stored size: 268 Bytes
Contents
module PM # A Song is a named list of Patches with a cursor. class Song attr_accessor :name, :patches def initialize(name) @name = name @patches = [] PatchMaster.instance.all_songs << self end def <<(patch) @patches << patch end end end
Version data entries
7 entries across 7 versions & 1 rubygems