Sha256: 68b44386f7268b566dcade51280dc01b1eca87a4101e0c7d85c449863dccffa9
Contents?: true
Size: 456 Bytes
Versions: 12
Compression:
Stored size: 456 Bytes
Contents
Coprl::Presenters.define(:code) do if context[:file] grid do column 12 do body '' expansion_panel 'Show Source' do content do form do source = File.read(context[:file]) text_area full_width: true, rows: source.split("\n").size do value source label 'Source' end end end end end end end end
Version data entries
12 entries across 12 versions & 1 rubygems