plugins/adva_cells/vendor/plugins/cells/lib/cell.rb
def render_state(state)
      @cell = self
      #state = state.to_s ### DISCUSS: why convert?
      self.state_name = state

      content = dispatch_state(state)

      return content if content.kind_of? String

      return self.render_view_for_state(state)
    end
# Render the given state.  You can pass the name as either a symbol or
# a string.
Render the given state.  You can pass the name as either a symbol or
a string.
Render the given state . You can pass the name as either a symbol or a string .
def render_state(state)
      @cell = self
      self.state_name = state
      content = dispatch_state(state)
      return content if content.kind_of? String
      return self.render_view_for_state(state)
    end
def render_state ( state ) @cell = self self . state_name = state content = dispatch_state ( state ) return content if content . kind_of? String return self . render_view_for_state ( state ) end
Render the given state.
Render the given state .
#state = state.to_s ### DISCUSS: why convert?
state