docs/EC2/Host/StringUtil.html in ec2-host-0.6.0 vs docs/EC2/Host/StringUtil.html in ec2-host-1.0.0

- old
+ new

@@ -1,90 +1,89 @@ -<!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"> +<!DOCTYPE html> +<html> <head> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta charset="utf-8"> +<meta name="viewport" content="width=device-width, initial-scale=1.0"> <title> Module: EC2::Host::StringUtil - &mdash; Documentation by YARD 0.8.7.6 + &mdash; Documentation by YARD 0.9.9 </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; + pathId = "EC2::Host::StringUtil"; relpath = '../../'; - framesUrl = "../../frames.html#!EC2/Host/StringUtil.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"> + <div class="nav_wrap"> + <iframe id="nav" src="../../class_list.html?1"></iframe> + <div id="resizer"></div> + </div> + + <div id="main" tabindex="-1"> + <div id="header"> + <div id="menu"> <a href="../../_index.html">Index (S)</a> &raquo; <span class='title'><span class='object_link'><a href="../../EC2.html" title="EC2 (class)">EC2</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Host.html" title="EC2::Host (class)">Host</a></span></span> &raquo; <span class="title">StringUtil</span> - - <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div> </div> - <div id="search"> + <div id="search"> <a class="full_list_link" id="class_list_link" href="../../class_list.html"> - Class List + + <svg width="24" height="24"> + <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect> + <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect> + <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect> + </svg> </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> + <div class="clear"></div> + </div> - <iframe id="search_frame"></iframe> - - <div id="content"><h1>Module: EC2::Host::StringUtil + <div id="content"><h1>Module: EC2::Host::StringUtil </h1> +<div class="box_info"> + -<dl class="box"> - - + - <dt class="r1 last">Defined in:</dt> - <dd class="r1 last">lib/ec2/host/string_util.rb</dd> + -</dl> -<div class="clear"></div> + <dl> + <dt>Defined in:</dt> + <dd>lib/ec2/host/string_util.rb</dd> + </dl> + +</div> <h2>Overview</h2><div class="docstring"> <div class="discussion"> <p>If want sophisticated utility, better to use ActiveSupport</p> @@ -103,19 +102,19 @@ <h2> Class Method Summary - <small>(<a href="#" class="summary_toggle">collapse</a>)</small> + <small><a href="#" class="summary_toggle">collapse</a></small> </h2> <ul class="summary"> <li class="public "> <span class="summary_signature"> - <a href="#camelize-class_method" title="camelize (class method)">+ (Object) <strong>camelize</strong>(string) </a> + <a href="#camelize-class_method" title="camelize (class method)">.<strong>camelize</strong>(string) &#x21d2; Object </a> </span> @@ -133,11 +132,11 @@ <li class="public "> <span class="summary_signature"> - <a href="#pluralize-class_method" title="pluralize (class method)">+ (Object) <strong>pluralize</strong>(string) </a> + <a href="#pluralize-class_method" title="pluralize (class method)">.<strong>pluralize</strong>(string) &#x21d2; Object </a> </span> @@ -155,11 +154,11 @@ <li class="public "> <span class="summary_signature"> - <a href="#singularize-class_method" title="singularize (class method)">+ (Object) <strong>singularize</strong>(string) </a> + <a href="#singularize-class_method" title="singularize (class method)">.<strong>singularize</strong>(string) &#x21d2; Object </a> </span> @@ -177,11 +176,11 @@ <li class="public "> <span class="summary_signature"> - <a href="#underscore-class_method" title="underscore (class method)">+ (Object) <strong>underscore</strong>(camel_cased_word) </a> + <a href="#stringify_symbols-class_method" title="stringify_symbols (class method)">.<strong>stringify_symbols</strong>(array) &#x21d2; Object </a> </span> @@ -196,10 +195,32 @@ <span class="summary_desc"><div class='inline'></div></span> </li> + <li class="public "> + <span class="summary_signature"> + + <a href="#underscore-class_method" title="underscore (class method)">.<strong>underscore</strong>(camel_cased_word) &#x21d2; Object </a> + + + + </span> + + + + + + + + + + <span class="summary_desc"><div class='inline'></div></span> + +</li> + + </ul> @@ -208,11 +229,11 @@ <div class="method_details first"> <h3 class="signature first" id="camelize-class_method"> - + (<tt>Object</tt>) <strong>camelize</strong>(string) + .<strong>camelize</strong>(string) &#x21d2; <tt>Object</tt> @@ -244,11 +265,11 @@ </div> <div class="method_details "> <h3 class="signature " id="pluralize-class_method"> - + (<tt>Object</tt>) <strong>pluralize</strong>(string) + .<strong>pluralize</strong>(string) &#x21d2; <tt>Object</tt> @@ -274,11 +295,11 @@ </div> <div class="method_details "> <h3 class="signature " id="singularize-class_method"> - + (<tt>Object</tt>) <strong>singularize</strong>(string) + .<strong>singularize</strong>(string) &#x21d2; <tt>Object</tt> @@ -302,13 +323,43 @@ </tr> </table> </div> <div class="method_details "> + <h3 class="signature " id="stringify_symbols-class_method"> + + .<strong>stringify_symbols</strong>(array) &#x21d2; <tt>Object</tt> + + + + + +</h3><table class="source_code"> + <tr> + <td> + <pre class="lines"> + + +30 +31 +32</pre> + </td> + <td> + <pre class="code"><span class="info file"># File 'lib/ec2/host/string_util.rb', line 30</span> + +<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_stringify_symbols'>stringify_symbols</span><span class='lparen'>(</span><span class='id identifier rubyid_array'>array</span><span class='rparen'>)</span> + <span class='id identifier rubyid_array'>array</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_e'>e</span><span class='op'>|</span> <span class='id identifier rubyid_e'>e</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>Symbol</span><span class='rparen'>)</span> <span class='op'>?</span> <span class='id identifier rubyid_e'>e</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span> <span class='op'>:</span> <span class='id identifier rubyid_e'>e</span> <span class='rbrace'>}</span> +<span class='kw'>end</span></pre> + </td> + </tr> +</table> +</div> + + <div class="method_details "> <h3 class="signature " id="underscore-class_method"> - + (<tt>Object</tt>) <strong>underscore</strong>(camel_cased_word) + .<strong>underscore</strong>(camel_cased_word) &#x21d2; <tt>Object</tt> @@ -347,13 +398,14 @@ </div> </div> - <div id="footer"> - Generated on Fri Dec 2 11:53:59 2016 by + <div id="footer"> + Generated on Sat May 20 00:23:52 2017 by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a> - 0.8.7.6 (ruby-2.3.2). + 0.9.9 (ruby-2.4.1). </div> + </div> </body> </html> \ No newline at end of file