Sha256: afd4e5ee68c46bb75e931478ee2fb0a1d15ec262732b58504e87b4554a62628d
Contents?: true
Size: 250 Bytes
Versions: 29
Compression:
Stored size: 250 Bytes
Contents
require './template' def handler event greeting = "Welcome to FaaStRuby Local!" render html: template('index.html.erb', variables: {greeting: greeting}) end def template(file, variables: {}) Template.new(variables: variables).render(file) end
Version data entries
29 entries across 29 versions & 1 rubygems