Sha256: a8acf38a762301afc6c803e1b5ec8a6e3a3d85cf5f9df2de528a6dbb1077ae5e
Contents?: true
Size: 205 Bytes
Versions: 4
Compression:
Stored size: 205 Bytes
Contents
module FocusedController class Route attr_reader :name def initialize(name) @name = name end def call(env) name.constantize.call(env) end alias to_s name end end
Version data entries
4 entries across 4 versions & 1 rubygems