<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>
Class: HelixSync::Methods::Plan
— Documentation by YARD 0.8.7.6
</title>
<link rel="stylesheet" href="../../css/style.css" type="text/css" charset="utf-8" />
<link rel="stylesheet" href="../../css/common.css" type="text/css" charset="utf-8" />
<script type="text/javascript" charset="utf-8">
hasFrames = window.top.frames.main ? true : false;
relpath = '../../';
framesUrl = "../../frames.html#!HelixSync/Methods/Plan.html";
</script>
<script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
<script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
</head>
<body>
<div id="header">
<div id="menu">
<a href="../../_index.html">Index (P)</a> »
<span class='title'><span class='object_link'><a href="../../HelixSync.html" title="HelixSync (module)">HelixSync</a></span></span> » <span class='title'><span class='object_link'><a href="../Methods.html" title="HelixSync::Methods (module)">Methods</a></span></span>
»
<span class="title">Plan</span>
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
</div>
<div id="search">
<a class="full_list_link" id="class_list_link"
href="../../class_list.html">
Class List
</a>
<a class="full_list_link" id="method_list_link"
href="../../method_list.html">
Method List
</a>
<a class="full_list_link" id="file_list_link"
href="../../file_list.html">
File List
</a>
</div>
<div class="clear"></div>
</div>
<iframe id="search_frame"></iframe>
<div id="content"><h1>Class: HelixSync::Methods::Plan
</h1>
<dl class="box">
<dt class="r1">Inherits:</dt>
<dd class="r1">
<span class="inheritName">Object</span>
<ul class="fullTree">
<li>Object</li>
<li class="next">HelixSync::Methods::Plan</li>
</ul>
<a href="#" class="inheritanceTree">show all</a>
</dd>
<dt class="r2 last">Defined in:</dt>
<dd class="r2 last">lib/helix_sync/methods.rb</dd>
</dl>
<div class="clear"></div>
<h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
<ul class="summary">
<li class="public ">
<span class="summary_signature">
<a href="#subplans-instance_method" title="#subplans (instance method)">- (Object) <strong>subplans</strong> </a>
</span>
<span class="summary_desc"><div class='inline'>
<p>Array of Subplan instances.</p>
</div></span>
</li>
</ul>
<h2>
Instance Method Summary
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
</h2>
<ul class="summary">
<li class="public ">
<span class="summary_signature">
<a href="#empty%3F-instance_method" title="#empty? (instance method)">- (Boolean) <strong>empty?</strong> </a>
</span>
<span class="summary_desc"><div class='inline'></div></span>
</li>
<li class="public ">
<span class="summary_signature">
<a href="#initialize-instance_method" title="#initialize (instance method)">- (Plan) <strong>initialize</strong> </a>
</span>
<span class="note title constructor">constructor</span>
<span class="summary_desc"><div class='inline'>
<p>A new instance of Plan.</p>
</div></span>
</li>
<li class="public ">
<span class="summary_signature">
<a href="#readd_actions-instance_method" title="#readd_actions (instance method)">- (Object) <strong>readd_actions</strong> </a>
</span>
<span class="summary_desc"><div class='inline'></div></span>
</li>
<li class="public ">
<span class="summary_signature">
<a href="#remove_actions-instance_method" title="#remove_actions (instance method)">- (Object) <strong>remove_actions</strong> </a>
</span>
<span class="summary_desc"><div class='inline'></div></span>
</li>
<li class="public ">
<span class="summary_signature">
<a href="#resolve_actions-instance_method" title="#resolve_actions (instance method)">- (Object) <strong>resolve_actions</strong> </a>
</span>
<span class="summary_desc"><div class='inline'></div></span>
</li>
<li class="public ">
<span class="summary_signature">
<a href="#to_json-instance_method" title="#to_json (instance method)">- (Object) <strong>to_json</strong> </a>
</span>
<span class="summary_desc"><div class='inline'></div></span>
</li>
</ul>
<div id="constructor_details" class="method_details_list">
<h2>Constructor Details</h2>
<div class="method_details first">
<h3 class="signature first" id="initialize-instance_method">
- (<tt><span class='object_link'><a href="" title="HelixSync::Methods::Plan (class)">Plan</a></span></tt>) <strong>initialize</strong>
</h3><div class="docstring">
<div class="discussion">
<p>Returns a new instance of Plan</p>
</div>
</div>
<div class="tags">
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
526
527
528</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'lib/helix_sync/methods.rb', line 526</span>
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span>
<span class='ivar'>@subplans</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
</div>
<div id="instance_attr_details" class="attr_details">
<h2>Instance Attribute Details</h2>
<span id="subplans=-instance_method"></span>
<div class="method_details first">
<h3 class="signature first" id="subplans-instance_method">
- (<tt>Object</tt>) <strong>subplans</strong>
</h3><div class="docstring">
<div class="discussion">
<p>Array of Subplan instances</p>
</div>
</div>
<div class="tags">
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
524
525
526</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'lib/helix_sync/methods.rb', line 524</span>
<span class='kw'>def</span> <span class='id identifier rubyid_subplans'>subplans</span>
<span class='ivar'>@subplans</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
</div>
<div id="instance_method_details" class="method_details_list">
<h2>Instance Method Details</h2>
<div class="method_details first">
<h3 class="signature first" id="empty?-instance_method">
- (<tt>Boolean</tt>) <strong>empty?</strong>
</h3><div class="docstring">
<div class="discussion">
</div>
</div>
<div class="tags">
<p class="tag_title">Returns:</p>
<ul class="return">
<li>
<span class='type'>(<tt>Boolean</tt>)</span>
</li>
</ul>
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
530
531
532</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'lib/helix_sync/methods.rb', line 530</span>
<span class='kw'>def</span> <span class='id identifier rubyid_empty?'>empty?</span>
<span class='ivar'>@subplans</span><span class='period'>.</span><span class='id identifier rubyid_empty?'>empty?</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
<div class="method_details ">
<h3 class="signature " id="readd_actions-instance_method">
- (<tt>Object</tt>) <strong>readd_actions</strong>
</h3><table class="source_code">
<tr>
<td>
<pre class="lines">
538
539
540</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'lib/helix_sync/methods.rb', line 538</span>
<span class='kw'>def</span> <span class='id identifier rubyid_readd_actions'>readd_actions</span>
<span class='ivar'>@subplans</span><span class='period'>.</span><span class='id identifier rubyid_select'>select</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_s'>s</span><span class='op'>|</span> <span class='id identifier rubyid_s'>s</span><span class='period'>.</span><span class='id identifier rubyid_sync_conflict'>sync_conflict</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>readd</span><span class='tstring_end'>'</span></span> <span class='rbrace'>}</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
<div class="method_details ">
<h3 class="signature " id="remove_actions-instance_method">
- (<tt>Object</tt>) <strong>remove_actions</strong>
</h3><table class="source_code">
<tr>
<td>
<pre class="lines">
534
535
536</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'lib/helix_sync/methods.rb', line 534</span>
<span class='kw'>def</span> <span class='id identifier rubyid_remove_actions'>remove_actions</span>
<span class='ivar'>@subplans</span><span class='period'>.</span><span class='id identifier rubyid_select'>select</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_s'>s</span><span class='op'>|</span> <span class='id identifier rubyid_s'>s</span><span class='period'>.</span><span class='id identifier rubyid_sync_conflict'>sync_conflict</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>remove</span><span class='tstring_end'>'</span></span> <span class='rbrace'>}</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
<div class="method_details ">
<h3 class="signature " id="resolve_actions-instance_method">
- (<tt>Object</tt>) <strong>resolve_actions</strong>
</h3><table class="source_code">
<tr>
<td>
<pre class="lines">
542
543
544</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'lib/helix_sync/methods.rb', line 542</span>
<span class='kw'>def</span> <span class='id identifier rubyid_resolve_actions'>resolve_actions</span>
<span class='ivar'>@subplans</span><span class='period'>.</span><span class='id identifier rubyid_select'>select</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_s'>s</span><span class='op'>|</span> <span class='id identifier rubyid_s'>s</span><span class='period'>.</span><span class='id identifier rubyid_sync_conflict'>sync_conflict</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>resolve</span><span class='tstring_end'>'</span></span> <span class='rbrace'>}</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
<div class="method_details ">
<h3 class="signature " id="to_json-instance_method">
- (<tt>Object</tt>) <strong>to_json</strong>
</h3><table class="source_code">
<tr>
<td>
<pre class="lines">
546
547
548</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'lib/helix_sync/methods.rb', line 546</span>
<span class='kw'>def</span> <span class='id identifier rubyid_to_json'>to_json</span>
<span class='ivar'>@subplans</span><span class='period'>.</span><span class='id identifier rubyid_to_json'>to_json</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
</div>
</div>
<div id="footer">
Generated on Mon Oct 12 22:20:52 2015 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.8.7.6 (ruby-2.2.3).
</div>
</body>
</html>