concordion 0.9.8 → 0.9.9.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (210) hide show
  1. data/Rakefile.rb +6 -6
  2. data/lib/concordion.rb +15 -0
  3. data/nbproject/private/private.properties +2 -4
  4. data/nbproject/private/rake-d.txt +5 -5
  5. data/nbproject/project.properties +4 -8
  6. data/nbproject/project.xml +3 -4
  7. data/tests/basic_assert.html +19 -1
  8. data/tests/basic_set.html +20 -6
  9. data/tests/basic_text.html +19 -9
  10. data/tests/failing.html +20 -5
  11. data/tests/failing_test.rb +1 -8
  12. data/tests/link_style_css.html +13 -1
  13. data/tests/lookahead_assert_true.html +28 -5
  14. data/tests/mixed.html +18 -1
  15. data/tests/return_result.html +20 -3
  16. data/tests/tables/table.html +47 -5
  17. data/tests/tables/verify_rows.html +60 -1
  18. data/tests/user-reported/basic_assert_true.html +25 -2
  19. data/tests/user-reported/basic_assert_true_test.rb +0 -3
  20. data/tests/user-reported/rubyish.html +42 -0
  21. data/tests/user-reported/{no_parens_test.rb → rubyish_test.rb} +1 -1
  22. metadata +16 -225
  23. data/README +0 -10
  24. data/html/classes/ConcordionBinder.html +0 -176
  25. data/html/classes/ConcordionBinder.src/M000042.html +0 -18
  26. data/html/classes/ConcordionBinder.src/M000043.html +0 -23
  27. data/html/classes/ConcordionBinder.src/M000044.html +0 -20
  28. data/html/classes/ConcordionCSS.html +0 -146
  29. data/html/classes/ConcordionCSS.src/M000100.html +0 -18
  30. data/html/classes/ConcordionCSS.src/M000101.html +0 -20
  31. data/html/classes/ConcordionCSSDecorator.html +0 -242
  32. data/html/classes/ConcordionCSSDecorator.src/M000011.html +0 -25
  33. data/html/classes/ConcordionCSSDecorator.src/M000012.html +0 -18
  34. data/html/classes/ConcordionCSSDecorator.src/M000013.html +0 -18
  35. data/html/classes/ConcordionCSSDecorator.src/M000014.html +0 -18
  36. data/html/classes/ConcordionCSSDecorator.src/M000015.html +0 -18
  37. data/html/classes/ConcordionCSSDecorator.src/M000016.html +0 -18
  38. data/html/classes/ConcordionCSSDecorator.src/M000017.html +0 -20
  39. data/html/classes/ConcordionCSSDecorator.src/M000018.html +0 -29
  40. data/html/classes/ConcordionConfigMethods.html +0 -146
  41. data/html/classes/ConcordionConfigMethods.src/M000123.html +0 -30
  42. data/html/classes/ConcordionConfigMethods.src/M000124.html +0 -26
  43. data/html/classes/ConcordionConstants.html +0 -146
  44. data/html/classes/ConcordionConstants.src/M000121.html +0 -20
  45. data/html/classes/ConcordionConstants.src/M000122.html +0 -18
  46. data/html/classes/ConcordionEnvironment.html +0 -212
  47. data/html/classes/ConcordionEnvironment.src/M000022.html +0 -18
  48. data/html/classes/ConcordionEnvironment.src/M000023.html +0 -18
  49. data/html/classes/ConcordionEnvironment.src/M000024.html +0 -18
  50. data/html/classes/ConcordionEnvironment.src/M000025.html +0 -18
  51. data/html/classes/ConcordionEnvironment.src/M000026.html +0 -19
  52. data/html/classes/ConcordionEnvironment.src/M000027.html +0 -19
  53. data/html/classes/ConcordionErrorCondition.html +0 -179
  54. data/html/classes/ConcordionErrorCondition.src/M000032.html +0 -22
  55. data/html/classes/ConcordionErrorCondition.src/M000033.html +0 -25
  56. data/html/classes/ConcordionInstrumenter.html +0 -152
  57. data/html/classes/ConcordionInstrumenter.src/M000045.html +0 -30
  58. data/html/classes/ConcordionInstrumenter.src/M000046.html +0 -22
  59. data/html/classes/ConcordionInternalTestMethods.html +0 -213
  60. data/html/classes/ConcordionInternalTestMethods.src/M000094.html +0 -25
  61. data/html/classes/ConcordionInternalTestMethods.src/M000095.html +0 -23
  62. data/html/classes/ConcordionInternalTestMethods.src/M000096.html +0 -26
  63. data/html/classes/ConcordionInternalTestMethods.src/M000097.html +0 -29
  64. data/html/classes/ConcordionInternalTestMethods.src/M000098.html +0 -22
  65. data/html/classes/ConcordionInternalTestMethods.src/M000099.html +0 -18
  66. data/html/classes/ConcordionInvoker.html +0 -327
  67. data/html/classes/ConcordionInvoker.src/M000058.html +0 -18
  68. data/html/classes/ConcordionInvoker.src/M000059.html +0 -26
  69. data/html/classes/ConcordionInvoker.src/M000060.html +0 -23
  70. data/html/classes/ConcordionInvoker.src/M000061.html +0 -26
  71. data/html/classes/ConcordionInvoker.src/M000062.html +0 -27
  72. data/html/classes/ConcordionInvoker.src/M000063.html +0 -22
  73. data/html/classes/ConcordionInvoker.src/M000064.html +0 -25
  74. data/html/classes/ConcordionInvoker.src/M000065.html +0 -26
  75. data/html/classes/ConcordionInvoker.src/M000066.html +0 -18
  76. data/html/classes/ConcordionInvoker.src/M000067.html +0 -18
  77. data/html/classes/ConcordionInvoker.src/M000068.html +0 -18
  78. data/html/classes/ConcordionInvoker.src/M000069.html +0 -26
  79. data/html/classes/ConcordionInvoker.src/M000070.html +0 -35
  80. data/html/classes/ConcordionLookaheadHandler.html +0 -152
  81. data/html/classes/ConcordionLookaheadHandler.src/M000028.html +0 -18
  82. data/html/classes/ConcordionLookaheadHandler.src/M000029.html +0 -22
  83. data/html/classes/ConcordionParseResult.html +0 -369
  84. data/html/classes/ConcordionParseResult.src/M000076.html +0 -21
  85. data/html/classes/ConcordionParseResult.src/M000077.html +0 -18
  86. data/html/classes/ConcordionParseResult.src/M000078.html +0 -18
  87. data/html/classes/ConcordionParseResult.src/M000079.html +0 -18
  88. data/html/classes/ConcordionParseResult.src/M000080.html +0 -18
  89. data/html/classes/ConcordionParseResult.src/M000081.html +0 -18
  90. data/html/classes/ConcordionParseResult.src/M000082.html +0 -18
  91. data/html/classes/ConcordionParseResult.src/M000083.html +0 -18
  92. data/html/classes/ConcordionParseResult.src/M000084.html +0 -19
  93. data/html/classes/ConcordionParseResult.src/M000085.html +0 -18
  94. data/html/classes/ConcordionParseResult.src/M000086.html +0 -18
  95. data/html/classes/ConcordionParseResult.src/M000087.html +0 -21
  96. data/html/classes/ConcordionParseResult.src/M000088.html +0 -22
  97. data/html/classes/ConcordionParseResult.src/M000089.html +0 -22
  98. data/html/classes/ConcordionParser.html +0 -214
  99. data/html/classes/ConcordionParser.src/M000002.html +0 -21
  100. data/html/classes/ConcordionParser.src/M000003.html +0 -20
  101. data/html/classes/ConcordionParser.src/M000004.html +0 -20
  102. data/html/classes/ConcordionParser.src/M000005.html +0 -26
  103. data/html/classes/ConcordionProcessor.html +0 -176
  104. data/html/classes/ConcordionProcessor.src/M000019.html +0 -19
  105. data/html/classes/ConcordionProcessor.src/M000020.html +0 -22
  106. data/html/classes/ConcordionProcessor.src/M000021.html +0 -18
  107. data/html/classes/ConcordionReader.html +0 -144
  108. data/html/classes/ConcordionReader.src/M000001.html +0 -18
  109. data/html/classes/ConcordionState.html +0 -299
  110. data/html/classes/ConcordionState.src/M000052.html +0 -18
  111. data/html/classes/ConcordionState.src/M000053.html +0 -23
  112. data/html/classes/ConcordionState.src/M000054.html +0 -18
  113. data/html/classes/ConcordionState.src/M000055.html +0 -18
  114. data/html/classes/ConcordionState.src/M000056.html +0 -25
  115. data/html/classes/ConcordionState.src/M000057.html +0 -28
  116. data/html/classes/ConcordionStringUtility.html +0 -259
  117. data/html/classes/ConcordionStringUtility.src/M000102.html +0 -18
  118. data/html/classes/ConcordionStringUtility.src/M000103.html +0 -18
  119. data/html/classes/ConcordionStringUtility.src/M000104.html +0 -18
  120. data/html/classes/ConcordionStringUtility.src/M000105.html +0 -18
  121. data/html/classes/ConcordionStringUtility.src/M000106.html +0 -18
  122. data/html/classes/ConcordionStringUtility.src/M000107.html +0 -18
  123. data/html/classes/ConcordionStringUtility.src/M000108.html +0 -43
  124. data/html/classes/ConcordionStringUtility.src/M000109.html +0 -18
  125. data/html/classes/ConcordionStringUtility.src/M000110.html +0 -18
  126. data/html/classes/ConcordionStringWriter.html +0 -165
  127. data/html/classes/ConcordionStringWriter.src/M000030.html +0 -19
  128. data/html/classes/ConcordionStringWriter.src/M000031.html +0 -18
  129. data/html/classes/ConcordionTestCase.html +0 -220
  130. data/html/classes/ConcordionTestCase.src/M000006.html +0 -19
  131. data/html/classes/ConcordionTestCase.src/M000007.html +0 -19
  132. data/html/classes/ConcordionTestCase.src/M000008.html +0 -19
  133. data/html/classes/ConcordionTestCase.src/M000009.html +0 -18
  134. data/html/classes/ConcordionTestCase.src/M000010.html +0 -18
  135. data/html/classes/ConcordionTestMethods.html +0 -151
  136. data/html/classes/ConcordionTestMethods.src/M000092.html +0 -24
  137. data/html/classes/ConcordionUtility.html +0 -229
  138. data/html/classes/ConcordionUtility.src/M000114.html +0 -18
  139. data/html/classes/ConcordionUtility.src/M000115.html +0 -34
  140. data/html/classes/ConcordionUtility.src/M000116.html +0 -22
  141. data/html/classes/ConcordionUtility.src/M000117.html +0 -18
  142. data/html/classes/ConcordionUtility.src/M000118.html +0 -22
  143. data/html/classes/ConcordionUtility.src/M000119.html +0 -18
  144. data/html/classes/ConcordionUtility.src/M000120.html +0 -25
  145. data/html/classes/ConcordionVerifier.html +0 -219
  146. data/html/classes/ConcordionVerifier.src/M000071.html +0 -20
  147. data/html/classes/ConcordionVerifier.src/M000072.html +0 -20
  148. data/html/classes/ConcordionVerifier.src/M000073.html +0 -23
  149. data/html/classes/ConcordionVerifier.src/M000074.html +0 -22
  150. data/html/classes/ConcordionVerifier.src/M000075.html +0 -28
  151. data/html/classes/ConcordionWriter.html +0 -244
  152. data/html/classes/ConcordionWriter.src/M000034.html +0 -18
  153. data/html/classes/ConcordionWriter.src/M000035.html +0 -20
  154. data/html/classes/ConcordionWriter.src/M000036.html +0 -18
  155. data/html/classes/ConcordionWriter.src/M000037.html +0 -18
  156. data/html/classes/ConcordionWriter.src/M000038.html +0 -21
  157. data/html/classes/ConcordionWriter.src/M000039.html +0 -22
  158. data/html/classes/ConcordionWriter.src/M000040.html +0 -18
  159. data/html/classes/ConcordionWriter.src/M000041.html +0 -18
  160. data/html/classes/FailConditionally.html +0 -131
  161. data/html/classes/FailConditionally.src/M000090.html +0 -22
  162. data/html/classes/GoldmasterTestCase.html +0 -208
  163. data/html/classes/GoldmasterTestCase.src/M000047.html +0 -22
  164. data/html/classes/GoldmasterTestCase.src/M000048.html +0 -18
  165. data/html/classes/GoldmasterTestCase.src/M000049.html +0 -18
  166. data/html/classes/GoldmasterTestCase.src/M000050.html +0 -18
  167. data/html/classes/GoldmasterTestCase.src/M000051.html +0 -31
  168. data/html/classes/LoaderHelper.html +0 -138
  169. data/html/classes/LoaderHelper.src/M000093.html +0 -24
  170. data/html/classes/PluralToSingularUtility.html +0 -131
  171. data/html/classes/PluralToSingularUtility.src/M000091.html +0 -18
  172. data/html/classes/SnakeCaseUtility.html +0 -161
  173. data/html/classes/SnakeCaseUtility.src/M000111.html +0 -23
  174. data/html/classes/SnakeCaseUtility.src/M000112.html +0 -20
  175. data/html/classes/SnakeCaseUtility.src/M000113.html +0 -18
  176. data/html/created.rid +0 -1
  177. data/html/files/README.html +0 -123
  178. data/html/files/lib/concordion_binder_rb.html +0 -108
  179. data/html/files/lib/concordion_constants_rb.html +0 -101
  180. data/html/files/lib/concordion_css_decorator_rb.html +0 -109
  181. data/html/files/lib/concordion_css_rb.html +0 -101
  182. data/html/files/lib/concordion_environment_rb.html +0 -101
  183. data/html/files/lib/concordion_error_condition_rb.html +0 -108
  184. data/html/files/lib/concordion_instrumenter_rb.html +0 -101
  185. data/html/files/lib/concordion_invoker_rb.html +0 -109
  186. data/html/files/lib/concordion_lookahead_handler_rb.html +0 -101
  187. data/html/files/lib/concordion_parse_result_rb.html +0 -108
  188. data/html/files/lib/concordion_parser_rb.html +0 -110
  189. data/html/files/lib/concordion_processor_rb.html +0 -108
  190. data/html/files/lib/concordion_rb.html +0 -108
  191. data/html/files/lib/concordion_reader_rb.html +0 -108
  192. data/html/files/lib/concordion_state_rb.html +0 -112
  193. data/html/files/lib/concordion_string_utility_rb.html +0 -101
  194. data/html/files/lib/concordion_string_writer_rb.html +0 -101
  195. data/html/files/lib/concordion_test_case_rb.html +0 -119
  196. data/html/files/lib/concordion_test_methods_rb.html +0 -125
  197. data/html/files/lib/concordion_utility_rb.html +0 -109
  198. data/html/files/lib/concordion_verifier_rb.html +0 -108
  199. data/html/files/lib/concordion_writer_rb.html +0 -101
  200. data/html/files/lib/goldmaster_test_case_rb.html +0 -110
  201. data/html/files/lib/loader_helper_rb.html +0 -108
  202. data/html/files/lib/rcor_rb.html +0 -108
  203. data/html/fr_class_index.html +0 -54
  204. data/html/fr_file_index.html +0 -52
  205. data/html/fr_method_index.html +0 -150
  206. data/html/index.html +0 -24
  207. data/html/rdoc-style.css +0 -208
  208. data/nbproject/private/config.properties +0 -0
  209. data/nbproject/private/private.xml +0 -4
  210. data/tests/user-reported/no_parens.html +0 -15
@@ -1,259 +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 xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>Module: ConcordionStringUtility</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
43
-
44
- </head>
45
- <body>
46
-
47
-
48
-
49
- <div id="classHeader">
50
- <table class="header-table">
51
- <tr class="top-aligned-row">
52
- <td><strong>Module</strong></td>
53
- <td class="class-name-in-header">ConcordionStringUtility</td>
54
- </tr>
55
- <tr class="top-aligned-row">
56
- <td><strong>In:</strong></td>
57
- <td>
58
- <a href="../files/lib/concordion_string_utility_rb.html">
59
- lib/concordion_string_utility.rb
60
- </a>
61
- <br />
62
- </td>
63
- </tr>
64
-
65
- </table>
66
- </div>
67
- <!-- banner header -->
68
-
69
- <div id="bodyContent">
70
-
71
-
72
-
73
- <div id="contextContent">
74
-
75
-
76
-
77
- </div>
78
-
79
- <div id="method-list">
80
- <h3 class="section-bar">Methods</h3>
81
-
82
- <div class="name-list">
83
- <a href="#M000109">assignment</a>&nbsp;&nbsp;
84
- <a href="#M000107">attr_writer_method?</a>&nbsp;&nbsp;
85
- <a href="#M000105">concordion_assignment</a>&nbsp;&nbsp;
86
- <a href="#M000108">concordion_method_name</a>&nbsp;&nbsp;
87
- <a href="#M000104">ends_in_empty_parens?</a>&nbsp;&nbsp;
88
- <a href="#M000110">escape_single_quotes</a>&nbsp;&nbsp;
89
- <a href="#M000102">has_arguments?</a>&nbsp;&nbsp;
90
- <a href="#M000106">has_assignment?</a>&nbsp;&nbsp;
91
- <a href="#M000103">is_direct_method_call?</a>&nbsp;&nbsp;
92
- </div>
93
- </div>
94
-
95
- </div>
96
-
97
-
98
- <!-- if includes -->
99
- <div id="includes">
100
- <h3 class="section-bar">Included Modules</h3>
101
-
102
- <div id="includes-list">
103
- <span class="include-name"><a href="SnakeCaseUtility.html">SnakeCaseUtility</a></span>
104
- <span class="include-name"><a href="PluralToSingularUtility.html">PluralToSingularUtility</a></span>
105
- </div>
106
- </div>
107
-
108
- <div id="section">
109
-
110
-
111
-
112
-
113
-
114
-
115
-
116
-
117
- <!-- if method_list -->
118
- <div id="methods">
119
- <h3 class="section-bar">Public Instance methods</h3>
120
-
121
- <div id="method-M000109" class="method-detail">
122
- <a name="M000109"></a>
123
-
124
- <div class="method-heading">
125
- <a href="ConcordionStringUtility.src/M000109.html" target="Code" class="method-signature"
126
- onclick="popupCode('ConcordionStringUtility.src/M000109.html');return false;">
127
- <span class="method-name">assignment</span><span class="method-args">(base)</span>
128
- </a>
129
- </div>
130
-
131
- <div class="method-description">
132
- </div>
133
- </div>
134
-
135
- <div id="method-M000107" class="method-detail">
136
- <a name="M000107"></a>
137
-
138
- <div class="method-heading">
139
- <a href="ConcordionStringUtility.src/M000107.html" target="Code" class="method-signature"
140
- onclick="popupCode('ConcordionStringUtility.src/M000107.html');return false;">
141
- <span class="method-name">attr_writer_method?</span><span class="method-args">(name)</span>
142
- </a>
143
- </div>
144
-
145
- <div class="method-description">
146
- </div>
147
- </div>
148
-
149
- <div id="method-M000105" class="method-detail">
150
- <a name="M000105"></a>
151
-
152
- <div class="method-heading">
153
- <a href="ConcordionStringUtility.src/M000105.html" target="Code" class="method-signature"
154
- onclick="popupCode('ConcordionStringUtility.src/M000105.html');return false;">
155
- <span class="method-name">concordion_assignment</span><span class="method-args">(name)</span>
156
- </a>
157
- </div>
158
-
159
- <div class="method-description">
160
- </div>
161
- </div>
162
-
163
- <div id="method-M000108" class="method-detail">
164
- <a name="M000108"></a>
165
-
166
- <div class="method-heading">
167
- <a href="ConcordionStringUtility.src/M000108.html" target="Code" class="method-signature"
168
- onclick="popupCode('ConcordionStringUtility.src/M000108.html');return false;">
169
- <span class="method-name">concordion_method_name</span><span class="method-args">(name)</span>
170
- </a>
171
- </div>
172
-
173
- <div class="method-description">
174
- </div>
175
- </div>
176
-
177
- <div id="method-M000104" class="method-detail">
178
- <a name="M000104"></a>
179
-
180
- <div class="method-heading">
181
- <a href="ConcordionStringUtility.src/M000104.html" target="Code" class="method-signature"
182
- onclick="popupCode('ConcordionStringUtility.src/M000104.html');return false;">
183
- <span class="method-name">ends_in_empty_parens?</span><span class="method-args">(name)</span>
184
- </a>
185
- </div>
186
-
187
- <div class="method-description">
188
- </div>
189
- </div>
190
-
191
- <div id="method-M000110" class="method-detail">
192
- <a name="M000110"></a>
193
-
194
- <div class="method-heading">
195
- <a href="ConcordionStringUtility.src/M000110.html" target="Code" class="method-signature"
196
- onclick="popupCode('ConcordionStringUtility.src/M000110.html');return false;">
197
- <span class="method-name">escape_single_quotes</span><span class="method-args">(s)</span>
198
- </a>
199
- </div>
200
-
201
- <div class="method-description">
202
- </div>
203
- </div>
204
-
205
- <div id="method-M000102" class="method-detail">
206
- <a name="M000102"></a>
207
-
208
- <div class="method-heading">
209
- <a href="ConcordionStringUtility.src/M000102.html" target="Code" class="method-signature"
210
- onclick="popupCode('ConcordionStringUtility.src/M000102.html');return false;">
211
- <span class="method-name">has_arguments?</span><span class="method-args">(name)</span>
212
- </a>
213
- </div>
214
-
215
- <div class="method-description">
216
- </div>
217
- </div>
218
-
219
- <div id="method-M000106" class="method-detail">
220
- <a name="M000106"></a>
221
-
222
- <div class="method-heading">
223
- <a href="ConcordionStringUtility.src/M000106.html" target="Code" class="method-signature"
224
- onclick="popupCode('ConcordionStringUtility.src/M000106.html');return false;">
225
- <span class="method-name">has_assignment?</span><span class="method-args">(name)</span>
226
- </a>
227
- </div>
228
-
229
- <div class="method-description">
230
- </div>
231
- </div>
232
-
233
- <div id="method-M000103" class="method-detail">
234
- <a name="M000103"></a>
235
-
236
- <div class="method-heading">
237
- <a href="ConcordionStringUtility.src/M000103.html" target="Code" class="method-signature"
238
- onclick="popupCode('ConcordionStringUtility.src/M000103.html');return false;">
239
- <span class="method-name">is_direct_method_call?</span><span class="method-args">(name)</span>
240
- </a>
241
- </div>
242
-
243
- <div class="method-description">
244
- </div>
245
- </div>
246
-
247
-
248
- </div>
249
-
250
-
251
- </div>
252
-
253
-
254
- <div id="validator-badges">
255
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
256
- </div>
257
-
258
- </body>
259
- </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>has_arguments? (ConcordionStringUtility)</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/concordion_string_utility.rb, line 36</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">has_arguments?</span>(<span class="ruby-identifier">name</span>)
15
- <span class="ruby-operator">!</span>(<span class="ruby-identifier">ends_in_empty_parens?</span>(<span class="ruby-identifier">name</span>) <span class="ruby-operator">||</span> <span class="ruby-identifier">is_direct_method_call?</span>(<span class="ruby-identifier">name</span>))
16
- <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </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>is_direct_method_call? (ConcordionStringUtility)</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/concordion_string_utility.rb, line 40</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">is_direct_method_call?</span>(<span class="ruby-identifier">name</span>)
15
- <span class="ruby-identifier">name</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp re">/^[\w]+$/</span>
16
- <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </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>ends_in_empty_parens? (ConcordionStringUtility)</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/concordion_string_utility.rb, line 44</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">ends_in_empty_parens?</span>(<span class="ruby-identifier">name</span>)
15
- <span class="ruby-identifier">name</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp re">/\(\)$/</span>
16
- <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </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>concordion_assignment (ConcordionStringUtility)</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/concordion_string_utility.rb, line 48</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">concordion_assignment</span>(<span class="ruby-identifier">name</span>)
15
- <span class="ruby-identifier">name</span>.<span class="ruby-identifier">split</span>(<span class="ruby-value str">&quot;=&quot;</span>)[<span class="ruby-value">0</span>].<span class="ruby-identifier">strip</span>
16
- <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </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>has_assignment? (ConcordionStringUtility)</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/concordion_string_utility.rb, line 52</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">has_assignment?</span>(<span class="ruby-identifier">name</span>)
15
- <span class="ruby-identifier">name</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp re">/=/</span>
16
- <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </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>attr_writer_method? (ConcordionStringUtility)</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/concordion_string_utility.rb, line 56</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">attr_writer_method?</span>(<span class="ruby-identifier">name</span>)
15
- <span class="ruby-identifier">name</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp re">/=$/</span>
16
- <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </html>
@@ -1,43 +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>concordion_method_name (ConcordionStringUtility)</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/concordion_string_utility.rb, line 60</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">concordion_method_name</span>(<span class="ruby-identifier">name</span>)
15
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">name</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp re">/\(/</span>
16
- <span class="ruby-identifier">base</span> = <span class="ruby-identifier">name</span>.<span class="ruby-identifier">split</span>(<span class="ruby-value str">&quot;(&quot;</span>)[<span class="ruby-value">0</span>].<span class="ruby-identifier">strip</span>
17
- <span class="ruby-keyword kw">else</span>
18
-
19
-
20
- <span class="ruby-identifier">base</span> = <span class="ruby-identifier">name</span>.<span class="ruby-identifier">strip</span>
21
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">base</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp re">/\s/</span>
22
-
23
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">base</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp re">/=/</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">base</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp re">/^#/</span>
24
- <span class="ruby-identifier">base</span> = <span class="ruby-identifier">base</span>.<span class="ruby-identifier">split</span>(<span class="ruby-value str">&quot;=&quot;</span>)[<span class="ruby-value">1</span>].<span class="ruby-identifier">strip</span>
25
- <span class="ruby-keyword kw">end</span>
26
- <span class="ruby-identifier">elements</span> = <span class="ruby-identifier">base</span>.<span class="ruby-identifier">split</span>(<span class="ruby-regexp re">/\s/</span>)
27
- <span class="ruby-identifier">base</span> = <span class="ruby-identifier">elements</span>[<span class="ruby-value">0</span>]
28
- <span class="ruby-keyword kw">end</span>
29
- <span class="ruby-keyword kw">end</span>
30
-
31
- <span class="ruby-keyword kw">if</span> <span class="ruby-operator">!</span><span class="ruby-identifier">has_assignment?</span>(<span class="ruby-identifier">base</span>)
32
- <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">base</span>
33
- <span class="ruby-keyword kw">end</span>
34
-
35
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">attr_writer_method?</span>(<span class="ruby-identifier">base</span>)
36
- <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">base</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">base</span>.<span class="ruby-identifier">count</span>(<span class="ruby-value str">&quot;=&quot;</span>) <span class="ruby-operator">==</span> <span class="ruby-value">1</span>
37
- <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">assignment</span>(<span class="ruby-identifier">base</span>) <span class="ruby-operator">+</span> <span class="ruby-value str">&quot;=&quot;</span>
38
- <span class="ruby-keyword kw">end</span>
39
-
40
- <span class="ruby-identifier">assignment</span>(<span class="ruby-identifier">base</span>)
41
- <span class="ruby-keyword kw">end</span></pre>
42
- </body>
43
- </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>assignment (ConcordionStringUtility)</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/concordion_string_utility.rb, line 89</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">assignment</span>(<span class="ruby-identifier">base</span>)
15
- <span class="ruby-identifier">base</span>.<span class="ruby-identifier">split</span>(<span class="ruby-value str">&quot;=&quot;</span>)[<span class="ruby-value">1</span>].<span class="ruby-identifier">strip</span>
16
- <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </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>escape_single_quotes (ConcordionStringUtility)</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/concordion_string_utility.rb, line 93</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">escape_single_quotes</span>(<span class="ruby-identifier">s</span>)
15
- <span class="ruby-identifier">s</span>.<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp re">/[']/</span>, <span class="ruby-value str">'\\\\\\\\\''</span>)
16
- <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </html>
@@ -1,165 +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 xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>Class: ConcordionStringWriter</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
43
-
44
- </head>
45
- <body>
46
-
47
-
48
-
49
- <div id="classHeader">
50
- <table class="header-table">
51
- <tr class="top-aligned-row">
52
- <td><strong>Class</strong></td>
53
- <td class="class-name-in-header">ConcordionStringWriter</td>
54
- </tr>
55
- <tr class="top-aligned-row">
56
- <td><strong>In:</strong></td>
57
- <td>
58
- <a href="../files/lib/concordion_string_writer_rb.html">
59
- lib/concordion_string_writer.rb
60
- </a>
61
- <br />
62
- </td>
63
- </tr>
64
-
65
- <tr class="top-aligned-row">
66
- <td><strong>Parent:</strong></td>
67
- <td>
68
- Object
69
- </td>
70
- </tr>
71
- </table>
72
- </div>
73
- <!-- banner header -->
74
-
75
- <div id="bodyContent">
76
-
77
-
78
-
79
- <div id="contextContent">
80
-
81
-
82
-
83
- </div>
84
-
85
- <div id="method-list">
86
- <h3 class="section-bar">Methods</h3>
87
-
88
- <div class="name-list">
89
- <a href="#M000030">calculate_filename_and_overwrite</a>&nbsp;&nbsp;
90
- <a href="#M000031">output_file_exists?</a>&nbsp;&nbsp;
91
- </div>
92
- </div>
93
-
94
- </div>
95
-
96
-
97
- <!-- if includes -->
98
-
99
- <div id="section">
100
-
101
-
102
-
103
-
104
-
105
- <div id="attribute-list">
106
- <h3 class="section-bar">Attributes</h3>
107
-
108
- <div class="name-list">
109
- <table>
110
- <tr class="top-aligned-row context-row">
111
- <td class="context-item-name">data</td>
112
- <td class="context-item-value">&nbsp;[RW]&nbsp;</td>
113
- <td class="context-item-desc"></td>
114
- </tr>
115
- </table>
116
- </div>
117
- </div>
118
-
119
-
120
-
121
- <!-- if method_list -->
122
- <div id="methods">
123
- <h3 class="section-bar">Public Instance methods</h3>
124
-
125
- <div id="method-M000030" class="method-detail">
126
- <a name="M000030"></a>
127
-
128
- <div class="method-heading">
129
- <a href="ConcordionStringWriter.src/M000030.html" target="Code" class="method-signature"
130
- onclick="popupCode('ConcordionStringWriter.src/M000030.html');return false;">
131
- <span class="method-name">calculate_filename_and_overwrite</span><span class="method-args">(data, filename)</span>
132
- </a>
133
- </div>
134
-
135
- <div class="method-description">
136
- </div>
137
- </div>
138
-
139
- <div id="method-M000031" class="method-detail">
140
- <a name="M000031"></a>
141
-
142
- <div class="method-heading">
143
- <a href="ConcordionStringWriter.src/M000031.html" target="Code" class="method-signature"
144
- onclick="popupCode('ConcordionStringWriter.src/M000031.html');return false;">
145
- <span class="method-name">output_file_exists?</span><span class="method-args">(filename)</span>
146
- </a>
147
- </div>
148
-
149
- <div class="method-description">
150
- </div>
151
- </div>
152
-
153
-
154
- </div>
155
-
156
-
157
- </div>
158
-
159
-
160
- <div id="validator-badges">
161
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
162
- </div>
163
-
164
- </body>
165
- </html>
@@ -1,19 +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>calculate_filename_and_overwrite (ConcordionStringWriter)</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/concordion_string_writer.rb, line 5</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">calculate_filename_and_overwrite</span>(<span class="ruby-identifier">data</span>, <span class="ruby-identifier">filename</span>)
15
- <span class="ruby-ivar">@data</span> = <span class="ruby-identifier">data</span>.<span class="ruby-identifier">to_s</span>
16
- <span class="ruby-identifier">filename</span>
17
- <span class="ruby-keyword kw">end</span></pre>
18
- </body>
19
- </html>