Sha256: ca1538b6931fea1363cbb13c9f13f46513ddb1d673a4f6052ef5fed12bda70ff
Contents?: true
Size: 259 Bytes
Versions: 6
Compression:
Stored size: 259 Bytes
Contents
require 'sinatra' require 'lens_protocol' get '/' do files_and_messages = Dir['examples/oma/*.oma'].map do |file| [File.basename(file), LensProtocol::OMA.parse(File.read(file))] end erb :index, locals: {files_and_messages: files_and_messages} end
Version data entries
6 entries across 6 versions & 1 rubygems