Sha256: 918ae9857780a05897bba6b2aeecfb93fc70cf675bb22f5ad41b6d0b3e760e8b
Contents?: true
Size: 429 Bytes
Versions: 1
Compression:
Stored size: 429 Bytes
Contents
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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cells-2.3.0 | test/cells/test_cell.rb |