Sha256: 59e9ffca8420a1578f11b0c99dc24e66da22c8606981f4b53b815ef7609b21b6
Contents?: true
Size: 502 Bytes
Versions: 4
Compression:
Stored size: 502 Bytes
Contents
module Coltrane module UI module Views class Notes < BaseView 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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
coltrane-4.1.2 | lib/coltrane/ui/views/notes.rb |
coltrane-4.1.1 | lib/coltrane/ui/views/notes.rb |
coltrane-4.1.0 | lib/coltrane/ui/views/notes.rb |
coltrane-4.0.6 | lib/coltrane/ui/views/notes.rb |