Sha256: 956991e52f0828c20f189805185b64a5556145386706f3d7b3f63c6b6646ffe9
Contents?: true
Size: 341 Bytes
Versions: 1
Compression:
Stored size: 341 Bytes
Contents
class Servel::Index extend Servel::Instrumentation def initialize(url_root:, url_path:) @url_root = url_root @url_path = url_path end def render Servel::HamlContext.render('index.haml', locals) end def locals { url_root: @url_root, url_path: @url_path } end instrument :render, :locals end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
servel-0.20.0 | lib/servel/index.rb |