Sha256: ac2134b84c7c19cdb0adc76422ff0c1b5d844d6027dd97f278744a065e0c6868
Contents?: true
Size: 306 Bytes
Versions: 10
Compression:
Stored size: 306 Bytes
Contents
require 'main/view' module Main module Views module Users class Index < Main::View configure do |config| config.template = 'users/index' end def locals(options) { users: [{ name: 'Jane' }, { name: 'Joe' }] } end end end end end
Version data entries
10 entries across 10 versions & 2 rubygems