Sha256: 951fd5a7b7d81ddf16e2949d2880cd18636f59e1bcd6a1e6a926a3f949f0c7dd
Contents?: true
Size: 498 Bytes
Versions: 3
Compression:
Stored size: 498 Bytes
Contents
module Coltrane module UI module Views class Notes < View questions({ notes: { statement: 'Which notes?' } , representation: { statement: 'How to display?', options: Commands::AvailableRepresentations.run } }) def render notes = Commands::GetNotesFromString.run(params[:notes]) Commands::GetRepresentationNotes.run(params[:representation], notes) end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
coltrane-4.0.5 | lib/coltrane/ui/views/notes.rb |
coltrane-4.0.4 | lib/coltrane/ui/views/notes.rb |
coltrane-4.0.3 | lib/coltrane/ui/views/notes.rb |