Sha256: e79a592cf7014b6b92f779ee3ab7616f058ff5ac27c41abd37dc525a2cf89f2c
Contents?: true
Size: 367 Bytes
Versions: 29
Compression:
Stored size: 367 Bytes
Contents
class SimpleRc < Fortitude::RenderingContext def initialize(options) @the_value = options.delete(:the_value) @start_end_calls = [ ] super(options) end attr_reader :the_value, :start_end_calls def start_widget!(widget) @start_end_calls << [ :start, widget ] end def end_widget!(widget) @start_end_calls << [ :end, widget ] end end
Version data entries
29 entries across 29 versions & 1 rubygems