Sha256: f5be592e4de39880396dcc8180f54c9d5a6b4b4f5585ff09862a05170a66be92
Contents?: true
Size: 358 Bytes
Versions: 19
Compression:
Stored size: 358 Bytes
Contents
module DynamicScaffold module Form module Item class Block < Base def initialize(config, type, name, &block) super(config, type, name, {}) @block = block end def render(view, form, classnames = nil) view.instance_exec(form, self, classnames, &@block) end end end end end
Version data entries
19 entries across 19 versions & 1 rubygems