formattedstring 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/doc/classes/Enumerable.html +10 -10
- data/doc/classes/Enumerable.src/M000026.html +6 -19
- data/doc/classes/Enumerable.src/M000027.html +34 -0
- data/doc/classes/FormattedString/Formats/Xml.html +16 -1
- data/doc/classes/FormattedString/Formats/Xml.src/M000004.html +3 -34
- data/doc/classes/FormattedString/Formats/Xml.src/M000005.html +49 -0
- data/doc/classes/Inflector/Inflections.html +40 -40
- data/doc/classes/Inflector/Inflections.src/M000020.html +4 -4
- data/doc/classes/Inflector/Inflections.src/M000021.html +4 -4
- data/doc/classes/Inflector/Inflections.src/M000022.html +4 -12
- data/doc/classes/Inflector/Inflections.src/M000023.html +12 -4
- data/doc/classes/Inflector/Inflections.src/M000024.html +4 -9
- data/doc/classes/Inflector/Inflections.src/M000025.html +23 -0
- data/doc/classes/Inflector.html +82 -82
- data/doc/classes/Inflector.src/M000006.html +6 -9
- data/doc/classes/Inflector.src/M000007.html +5 -5
- data/doc/classes/Inflector.src/M000008.html +9 -6
- data/doc/classes/Inflector.src/M000009.html +8 -4
- data/doc/classes/Inflector.src/M000010.html +4 -8
- data/doc/classes/Inflector.src/M000011.html +8 -4
- data/doc/classes/Inflector.src/M000012.html +4 -4
- data/doc/classes/Inflector.src/M000013.html +4 -4
- data/doc/classes/Inflector.src/M000014.html +4 -4
- data/doc/classes/Inflector.src/M000015.html +4 -5
- data/doc/classes/Inflector.src/M000016.html +5 -4
- data/doc/classes/Inflector.src/M000017.html +4 -8
- data/doc/classes/Inflector.src/M000018.html +7 -12
- data/doc/classes/Inflector.src/M000019.html +27 -0
- data/doc/created.rid +1 -1
- data/doc/files/lib/formatted_string/formats/xml_rb.html +1 -1
- data/doc/fr_method_index.html +24 -23
- data/lib/formatted_string/formats/xml.rb +4 -0
- metadata +6 -5
- data/doc/classes/Enumerable.src/M000025.html +0 -21
- data/doc/classes/Inflector/Inflections.src/M000019.html +0 -18
- data/doc/classes/Inflector.src/M000005.html +0 -22
@@ -1,21 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html>
|
7
|
-
<head>
|
8
|
-
<title>group_by (Enumerable)</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
-
</head>
|
12
|
-
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/formatted_string/formats/xml.rb, line 11</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">group_by</span>
|
15
|
-
<span class="ruby-identifier">inject</span>({}) <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">groups</span>, <span class="ruby-identifier">element</span><span class="ruby-operator">|</span>
|
16
|
-
(<span class="ruby-identifier">groups</span>[<span class="ruby-keyword kw">yield</span>(<span class="ruby-identifier">element</span>)] <span class="ruby-operator">||=</span> []) <span class="ruby-operator"><<</span> <span class="ruby-identifier">element</span>
|
17
|
-
<span class="ruby-identifier">groups</span>
|
18
|
-
<span class="ruby-keyword kw">end</span>
|
19
|
-
<span class="ruby-keyword kw">end</span></pre>
|
20
|
-
</body>
|
21
|
-
</html>
|
@@ -1,18 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html>
|
7
|
-
<head>
|
8
|
-
<title>new (Inflector::Inflections)</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
-
</head>
|
12
|
-
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/inflector.rb, line 27</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>
|
15
|
-
<span class="ruby-ivar">@plurals</span>, <span class="ruby-ivar">@singulars</span>, <span class="ruby-ivar">@uncountables</span> = [], [], []
|
16
|
-
<span class="ruby-keyword kw">end</span></pre>
|
17
|
-
</body>
|
18
|
-
</html>
|
@@ -1,22 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html>
|
7
|
-
<head>
|
8
|
-
<title>inflections (Inflector)</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
11
|
-
</head>
|
12
|
-
<body class="standalone-code">
|
13
|
-
<pre><span class="ruby-comment cmt"># File lib/inflector.rb, line 89</span>
|
14
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">inflections</span>
|
15
|
-
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">block_given?</span>
|
16
|
-
<span class="ruby-keyword kw">yield</span> <span class="ruby-constant">Inflections</span>.<span class="ruby-identifier">instance</span>
|
17
|
-
<span class="ruby-keyword kw">else</span>
|
18
|
-
<span class="ruby-constant">Inflections</span>.<span class="ruby-identifier">instance</span>
|
19
|
-
<span class="ruby-keyword kw">end</span>
|
20
|
-
<span class="ruby-keyword kw">end</span></pre>
|
21
|
-
</body>
|
22
|
-
</html>
|