Sha256: d28d8ba4108b2c8222d4e8881129b51f7c6b3ac035d48572745b5896adfaaade

Contents?: true

Size: 436 Bytes

Versions: 17

Compression:

Stored size: 436 Bytes

Contents

# encoding: utf-8

class TestCell < ::Cell::Base
  def needs_view
    @instance_variable_one = "yeah"
    render
  end

  def another_rendering_state
    @instance_variable_one = "go"
    render
  end

  def setting_state
    @reset_me = '<p id="ho">ho</p>'
    render
  end

  def reset_state
    render
  end

  def state_with_not_included_helper_method
    render
  end

  def state_using_params
    params[:my_param].to_s
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
cells-3.3.10 test/app/cells/test_cell.rb
cells-3.3.9 test/app/cells/test_cell.rb
cells-3.3.8 test/app/cells/test_cell.rb
cells-3.3.7 test/app/cells/test_cell.rb
cells-3.3.6 test/app/cells/test_cell.rb
cells-3.4.2 test/app/cells/test_cell.rb
cells-3.3.5 test/app/cells/test_cell.rb
cells-3.4.1 test/app/cells/test_cell.rb
cells-3.4.0 test/app/cells/test_cell.rb
cells-3.4.0.beta3 test/app/cells/test_cell.rb
cells-3.4.0.beta2 test/app/cells/test_cell.rb
cells-3.4.0.beta1 test/app/cells/test_cell.rb
cells-3.3.4 test/app/cells/test_cell.rb
cells-3.3.3 test/app/cells/test_cell.rb
cells-3.3.2 test/app/cells/test_cell.rb
cells-3.3.1 test/app/cells/test_cell.rb
cells-3.3.0 test/app/cells/test_cell.rb