# File lib/cgikit/component.rb, line 197
  def sync( context, &block )
    unless loaded? then
      awake_from_restoration(context)
    end
    if subcomponent? and sync? then
      pull_values_from_parent
      result = block.call if block_given?
      push_values_to_parent
      result
    elsif block_given?
      block.call
    end
  end