Sha256: 560aaca75940eae5fb2c940d6b2dced40f2914c691ead09d641891113505fcdd
Contents?: true
Size: 302 Bytes
Versions: 7
Compression:
Stored size: 302 Bytes
Contents
module Coltrane module Commands class GetRepresentationNotes < Command def run(representation, notes) return notes if representation == 'Text' Object .const_get("Coltrane::Representation::#{representation}") .find_notes(notes) end end end end
Version data entries
7 entries across 7 versions & 1 rubygems