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

Version Path
fortitude-0.9.6-java spec/rails/templates/rendering_context_system_spec/lib/simple_rc.rb
fortitude-0.9.6 spec/rails/templates/rendering_context_system_spec/lib/simple_rc.rb
fortitude-0.9.5-java spec/rails/templates/rendering_context_system_spec/lib/simple_rc.rb
fortitude-0.9.5 spec/rails/templates/rendering_context_system_spec/lib/simple_rc.rb
fortitude-0.9.4-java spec/rails/templates/rendering_context_system_spec/lib/simple_rc.rb
fortitude-0.9.4 spec/rails/templates/rendering_context_system_spec/lib/simple_rc.rb
fortitude-0.9.3-java spec/rails/templates/rendering_context_system_spec/lib/simple_rc.rb
fortitude-0.9.3 spec/rails/templates/rendering_context_system_spec/lib/simple_rc.rb
fortitude-0.9.2-java spec/rails/templates/rendering_context_system_spec/lib/simple_rc.rb
fortitude-0.9.2 spec/rails/templates/rendering_context_system_spec/lib/simple_rc.rb
fortitude-0.9.1-java spec/rails/templates/rendering_context_system_spec/lib/simple_rc.rb
fortitude-0.9.1 spec/rails/templates/rendering_context_system_spec/lib/simple_rc.rb
fortitude-0.9.0-java spec/rails/templates/rendering_context_system_spec/lib/simple_rc.rb
fortitude-0.9.0 spec/rails/templates/rendering_context_system_spec/lib/simple_rc.rb
fortitude-0.0.10-java spec/rails/templates/rendering_context_system_spec/lib/simple_rc.rb
fortitude-0.0.10 spec/rails/templates/rendering_context_system_spec/lib/simple_rc.rb
fortitude-0.0.9-java spec/rails/templates/rendering_context_system_spec/lib/simple_rc.rb
fortitude-0.0.9 spec/rails/templates/rendering_context_system_spec/lib/simple_rc.rb
fortitude-0.0.7-java spec/rails/templates/rendering_context_system_spec/lib/simple_rc.rb
fortitude-0.0.7 spec/rails/templates/rendering_context_system_spec/lib/simple_rc.rb