rghost 0.7.2 → 0.7.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (320) hide show
  1. data/lib/rghost.rb +1 -0
  2. data/lib/rghost/arc.rb +1 -1
  3. data/lib/rghost/doc/classes/Arc.html +200 -0
  4. data/lib/rghost/doc/classes/Arc.src/M000049.html +18 -0
  5. data/lib/rghost/doc/classes/Arc.src/M000050.html +23 -0
  6. data/lib/rghost/doc/classes/Barcode.html +214 -0
  7. data/lib/rghost/doc/classes/Barcode.src/M000001.html +19 -0
  8. data/lib/rghost/doc/classes/Barcode.src/M000002.html +18 -0
  9. data/lib/rghost/doc/classes/Barcode.src/M000003.html +19 -0
  10. data/lib/rghost/doc/classes/Barcode.src/M000004.html +27 -0
  11. data/lib/rghost/doc/classes/CMYK.html +209 -0
  12. data/lib/rghost/doc/classes/CMYK.src/M000047.html +18 -0
  13. data/lib/rghost/doc/classes/CMYK.src/M000048.html +24 -0
  14. data/lib/rghost/doc/classes/Callback.html +220 -0
  15. data/lib/rghost/doc/classes/Callback.src/M000071.html +21 -0
  16. data/lib/rghost/doc/classes/Callback.src/M000072.html +26 -0
  17. data/lib/rghost/doc/classes/Color.html +175 -0
  18. data/lib/rghost/doc/classes/Color.src/M000028.html +33 -0
  19. data/lib/rghost/doc/classes/Constants.html +120 -0
  20. data/lib/rghost/doc/classes/Constants/Colors.html +129 -0
  21. data/lib/rghost/doc/classes/Constants/Devices.html +163 -0
  22. data/lib/rghost/doc/classes/Constants/Devices.src/M000168.html +22 -0
  23. data/lib/rghost/doc/classes/Constants/Fonts.html +144 -0
  24. data/lib/rghost/doc/classes/Constants/Papers.html +124 -0
  25. data/lib/rghost/doc/classes/Convert.html +189 -0
  26. data/lib/rghost/doc/classes/Convert.src/M000067.html +20 -0
  27. data/lib/rghost/doc/classes/Convert.src/M000068.html +24 -0
  28. data/lib/rghost/doc/classes/Cursor.html +330 -0
  29. data/lib/rghost/doc/classes/Cursor.src/M000031.html +21 -0
  30. data/lib/rghost/doc/classes/Cursor.src/M000032.html +21 -0
  31. data/lib/rghost/doc/classes/Cursor.src/M000033.html +20 -0
  32. data/lib/rghost/doc/classes/Cursor.src/M000034.html +18 -0
  33. data/lib/rghost/doc/classes/Cursor.src/M000035.html +18 -0
  34. data/lib/rghost/doc/classes/Cursor.src/M000036.html +19 -0
  35. data/lib/rghost/doc/classes/Cursor.src/M000037.html +22 -0
  36. data/lib/rghost/doc/classes/Cursor.src/M000038.html +18 -0
  37. data/lib/rghost/doc/classes/Cursor.src/M000039.html +18 -0
  38. data/lib/rghost/doc/classes/DSCEntry.html +173 -0
  39. data/lib/rghost/doc/classes/DSCEntry.src/M000059.html +19 -0
  40. data/lib/rghost/doc/classes/DSCEntry.src/M000060.html +19 -0
  41. data/lib/rghost/doc/classes/DataGrid.html +133 -0
  42. data/lib/rghost/doc/classes/DataGrid/BasicGrid.html +343 -0
  43. data/lib/rghost/doc/classes/DataGrid/BasicGrid.src/M000140.html +27 -0
  44. data/lib/rghost/doc/classes/DataGrid/BasicGrid.src/M000141.html +26 -0
  45. data/lib/rghost/doc/classes/DataGrid/BasicGrid.src/M000142.html +22 -0
  46. data/lib/rghost/doc/classes/DataGrid/BasicGrid.src/M000143.html +19 -0
  47. data/lib/rghost/doc/classes/DataGrid/BasicGrid.src/M000144.html +26 -0
  48. data/lib/rghost/doc/classes/DataGrid/BasicGrid.src/M000145.html +34 -0
  49. data/lib/rghost/doc/classes/DataGrid/BasicGrid.src/M000146.html +18 -0
  50. data/lib/rghost/doc/classes/DataGrid/BasicGrid.src/M000147.html +37 -0
  51. data/lib/rghost/doc/classes/DataGrid/BasicGrid.src/M000148.html +26 -0
  52. data/lib/rghost/doc/classes/DataGrid/CSVGrid.html +152 -0
  53. data/lib/rghost/doc/classes/DataGrid/CSVGrid.src/M000139.html +32 -0
  54. data/lib/rghost/doc/classes/DataGrid/DynamicCallback.html +158 -0
  55. data/lib/rghost/doc/classes/DataGrid/DynamicCallback.src/M000149.html +19 -0
  56. data/lib/rghost/doc/classes/DataGrid/FieldFormat.html +216 -0
  57. data/lib/rghost/doc/classes/DataGrid/FieldFormat.src/M000131.html +19 -0
  58. data/lib/rghost/doc/classes/DataGrid/FieldFormat.src/M000132.html +18 -0
  59. data/lib/rghost/doc/classes/DataGrid/FieldFormat.src/M000133.html +23 -0
  60. data/lib/rghost/doc/classes/DataGrid/FieldFormat.src/M000134.html +18 -0
  61. data/lib/rghost/doc/classes/DataGrid/FieldFormat.src/M000135.html +22 -0
  62. data/lib/rghost/doc/classes/DataGrid/FieldFormat/Custom.html +176 -0
  63. data/lib/rghost/doc/classes/DataGrid/FieldFormat/Custom.src/M000136.html +18 -0
  64. data/lib/rghost/doc/classes/DataGrid/FieldFormat/Custom.src/M000137.html +18 -0
  65. data/lib/rghost/doc/classes/DataGrid/FieldFormat/Custom.src/M000138.html +18 -0
  66. data/lib/rghost/doc/classes/DataGrid/Grid.html +148 -0
  67. data/lib/rghost/doc/classes/DataGrid/Grid.src/M000160.html +19 -0
  68. data/lib/rghost/doc/classes/DataGrid/Header.html +367 -0
  69. data/lib/rghost/doc/classes/DataGrid/Header.src/M000150.html +26 -0
  70. data/lib/rghost/doc/classes/DataGrid/Header.src/M000151.html +25 -0
  71. data/lib/rghost/doc/classes/DataGrid/Header.src/M000152.html +24 -0
  72. data/lib/rghost/doc/classes/DataGrid/Header.src/M000153.html +19 -0
  73. data/lib/rghost/doc/classes/DataGrid/Header.src/M000154.html +18 -0
  74. data/lib/rghost/doc/classes/DataGrid/Header.src/M000155.html +18 -0
  75. data/lib/rghost/doc/classes/DataGrid/Header.src/M000156.html +18 -0
  76. data/lib/rghost/doc/classes/DataGrid/Header.src/M000157.html +18 -0
  77. data/lib/rghost/doc/classes/DataGrid/Header.src/M000158.html +19 -0
  78. data/lib/rghost/doc/classes/DataGrid/Header.src/M000159.html +19 -0
  79. data/lib/rghost/doc/classes/DataGrid/RailsGrid.html +234 -0
  80. data/lib/rghost/doc/classes/DataGrid/RailsGrid.src/M000161.html +27 -0
  81. data/lib/rghost/doc/classes/DataGrid/RailsGrid.src/M000162.html +23 -0
  82. data/lib/rghost/doc/classes/DataGrid/RailsGrid.src/M000163.html +18 -0
  83. data/lib/rghost/doc/classes/DataGrid/StaticCallback.html +158 -0
  84. data/lib/rghost/doc/classes/DataGrid/StaticCallback.src/M000164.html +19 -0
  85. data/lib/rghost/doc/classes/DataGrid/Style.html +113 -0
  86. data/lib/rghost/doc/classes/DataGrid/Style/BorderLines.html +137 -0
  87. data/lib/rghost/doc/classes/DataGrid/Style/BorderLines.src/M000128.html +55 -0
  88. data/lib/rghost/doc/classes/DataGrid/Style/BottomLines.html +137 -0
  89. data/lib/rghost/doc/classes/DataGrid/Style/BottomLines.src/M000129.html +38 -0
  90. data/lib/rghost/doc/classes/DataGrid/Style/OldForms.html +137 -0
  91. data/lib/rghost/doc/classes/DataGrid/Style/OldForms.src/M000130.html +38 -0
  92. data/lib/rghost/doc/classes/Document.html +990 -0
  93. data/lib/rghost/doc/classes/Document.src/M000075.html +32 -0
  94. data/lib/rghost/doc/classes/Document.src/M000076.html +18 -0
  95. data/lib/rghost/doc/classes/Document.src/M000077.html +29 -0
  96. data/lib/rghost/doc/classes/Document.src/M000078.html +33 -0
  97. data/lib/rghost/doc/classes/Document.src/M000079.html +20 -0
  98. data/lib/rghost/doc/classes/Document.src/M000080.html +21 -0
  99. data/lib/rghost/doc/classes/Document.src/M000081.html +18 -0
  100. data/lib/rghost/doc/classes/Document.src/M000082.html +19 -0
  101. data/lib/rghost/doc/classes/Document.src/M000083.html +21 -0
  102. data/lib/rghost/doc/classes/Document.src/M000084.html +22 -0
  103. data/lib/rghost/doc/classes/Document.src/M000085.html +18 -0
  104. data/lib/rghost/doc/classes/Document.src/M000086.html +18 -0
  105. data/lib/rghost/doc/classes/Document.src/M000087.html +18 -0
  106. data/lib/rghost/doc/classes/Document.src/M000088.html +18 -0
  107. data/lib/rghost/doc/classes/Document.src/M000089.html +19 -0
  108. data/lib/rghost/doc/classes/Document.src/M000090.html +18 -0
  109. data/lib/rghost/doc/classes/Document.src/M000091.html +18 -0
  110. data/lib/rghost/doc/classes/Document.src/M000092.html +18 -0
  111. data/lib/rghost/doc/classes/Document.src/M000093.html +18 -0
  112. data/lib/rghost/doc/classes/Document.src/M000094.html +18 -0
  113. data/lib/rghost/doc/classes/Document.src/M000095.html +18 -0
  114. data/lib/rghost/doc/classes/Document.src/M000096.html +18 -0
  115. data/lib/rghost/doc/classes/Document.src/M000097.html +18 -0
  116. data/lib/rghost/doc/classes/Document.src/M000098.html +18 -0
  117. data/lib/rghost/doc/classes/Document.src/M000099.html +18 -0
  118. data/lib/rghost/doc/classes/Document.src/M000100.html +18 -0
  119. data/lib/rghost/doc/classes/Document.src/M000101.html +18 -0
  120. data/lib/rghost/doc/classes/Document.src/M000102.html +18 -0
  121. data/lib/rghost/doc/classes/Document.src/M000103.html +18 -0
  122. data/lib/rghost/doc/classes/Document.src/M000104.html +18 -0
  123. data/lib/rghost/doc/classes/Document.src/M000105.html +18 -0
  124. data/lib/rghost/doc/classes/Document.src/M000106.html +18 -0
  125. data/lib/rghost/doc/classes/Document.src/M000107.html +18 -0
  126. data/lib/rghost/doc/classes/Document.src/M000108.html +18 -0
  127. data/lib/rghost/doc/classes/Document.src/M000109.html +18 -0
  128. data/lib/rghost/doc/classes/Document.src/M000110.html +18 -0
  129. data/lib/rghost/doc/classes/Document.src/M000111.html +20 -0
  130. data/lib/rghost/doc/classes/Document.src/M000112.html +19 -0
  131. data/lib/rghost/doc/classes/Document.src/M000113.html +19 -0
  132. data/lib/rghost/doc/classes/DynamicDocumentCallback.html +175 -0
  133. data/lib/rghost/doc/classes/DynamicDocumentCallback.src/M000022.html +19 -0
  134. data/lib/rghost/doc/classes/Eps.html +168 -0
  135. data/lib/rghost/doc/classes/Eps.src/M000063.html +20 -0
  136. data/lib/rghost/doc/classes/Eps.src/M000064.html +20 -0
  137. data/lib/rghost/doc/classes/Font.html +205 -0
  138. data/lib/rghost/doc/classes/Font.src/M000061.html +22 -0
  139. data/lib/rghost/doc/classes/Font.src/M000062.html +37 -0
  140. data/lib/rghost/doc/classes/Function.html +196 -0
  141. data/lib/rghost/doc/classes/Function.src/M000045.html +27 -0
  142. data/lib/rghost/doc/classes/Function.src/M000046.html +20 -0
  143. data/lib/rghost/doc/classes/GSAlone.html +154 -0
  144. data/lib/rghost/doc/classes/GSAlone.src/M000065.html +19 -0
  145. data/lib/rghost/doc/classes/GSAlone.src/M000066.html +22 -0
  146. data/lib/rghost/doc/classes/Gif.html +148 -0
  147. data/lib/rghost/doc/classes/Gif.src/M000040.html +30 -0
  148. data/lib/rghost/doc/classes/Graphic.html +153 -0
  149. data/lib/rghost/doc/classes/Graphic.src/M000014.html +18 -0
  150. data/lib/rghost/doc/classes/Gray.html +181 -0
  151. data/lib/rghost/doc/classes/Gray.src/M000026.html +18 -0
  152. data/lib/rghost/doc/classes/Gray.src/M000027.html +19 -0
  153. data/lib/rghost/doc/classes/Helpers.html +112 -0
  154. data/lib/rghost/doc/classes/Helpers/HashKeyMethod.html +131 -0
  155. data/lib/rghost/doc/classes/Helpers/HashKeyMethod.src/M000127.html +18 -0
  156. data/lib/rghost/doc/classes/Helpers/HashKeyMethodClass.html +118 -0
  157. data/lib/rghost/doc/classes/HorizontalLine.html +186 -0
  158. data/lib/rghost/doc/classes/HorizontalLine.src/M000023.html +23 -0
  159. data/lib/rghost/doc/classes/Image.html +176 -0
  160. data/lib/rghost/doc/classes/Image.src/M000042.html +20 -0
  161. data/lib/rghost/doc/classes/Image.src/M000043.html +26 -0
  162. data/lib/rghost/doc/classes/Jpeg.html +148 -0
  163. data/lib/rghost/doc/classes/Jpeg.src/M000013.html +28 -0
  164. data/lib/rghost/doc/classes/Line.html +190 -0
  165. data/lib/rghost/doc/classes/Line.src/M000069.html +20 -0
  166. data/lib/rghost/doc/classes/Line.src/M000070.html +19 -0
  167. data/lib/rghost/doc/classes/LineWidth.html +172 -0
  168. data/lib/rghost/doc/classes/LineWidth.src/M000005.html +18 -0
  169. data/lib/rghost/doc/classes/LineWidth.src/M000006.html +18 -0
  170. data/lib/rghost/doc/classes/Load.html +161 -0
  171. data/lib/rghost/doc/classes/Load.src/M000165.html +21 -0
  172. data/lib/rghost/doc/classes/Load.src/M000166.html +34 -0
  173. data/lib/rghost/doc/classes/Load.src/M000167.html +19 -0
  174. data/lib/rghost/doc/classes/NewPath.html +153 -0
  175. data/lib/rghost/doc/classes/NewPath.src/M000041.html +18 -0
  176. data/lib/rghost/doc/classes/Paper.html +213 -0
  177. data/lib/rghost/doc/classes/Paper.src/M000010.html +20 -0
  178. data/lib/rghost/doc/classes/Paper.src/M000011.html +24 -0
  179. data/lib/rghost/doc/classes/Paper.src/M000012.html +20 -0
  180. data/lib/rghost/doc/classes/Point.html +180 -0
  181. data/lib/rghost/doc/classes/Point.src/M000073.html +20 -0
  182. data/lib/rghost/doc/classes/Point.src/M000074.html +18 -0
  183. data/lib/rghost/doc/classes/PointWithCommand.html +150 -0
  184. data/lib/rghost/doc/classes/PointWithCommand.src/M000115.html +22 -0
  185. data/lib/rghost/doc/classes/PsObject.html +269 -0
  186. data/lib/rghost/doc/classes/PsObject.src/M000015.html +25 -0
  187. data/lib/rghost/doc/classes/PsObject.src/M000016.html +18 -0
  188. data/lib/rghost/doc/classes/PsObject.src/M000017.html +18 -0
  189. data/lib/rghost/doc/classes/PsObject.src/M000018.html +18 -0
  190. data/lib/rghost/doc/classes/PsObject.src/M000019.html +21 -0
  191. data/lib/rghost/doc/classes/PsObject.src/M000020.html +19 -0
  192. data/lib/rghost/doc/classes/PsObject.src/M000021.html +18 -0
  193. data/lib/rghost/doc/classes/RGB.html +213 -0
  194. data/lib/rghost/doc/classes/RGB.src/M000024.html +21 -0
  195. data/lib/rghost/doc/classes/RGB.src/M000025.html +25 -0
  196. data/lib/rghost/doc/classes/Rectangle.html +226 -0
  197. data/lib/rghost/doc/classes/Rectangle.src/M000056.html +18 -0
  198. data/lib/rghost/doc/classes/Rectangle.src/M000057.html +24 -0
  199. data/lib/rghost/doc/classes/Rectangle.src/M000058.html +21 -0
  200. data/lib/rghost/doc/classes/RubyGhostConfig.html +144 -0
  201. data/lib/rghost/doc/classes/RubyGhostConfig.src/M000118.html +22 -0
  202. data/lib/rghost/doc/classes/RubyGhostEngine.html +261 -0
  203. data/lib/rghost/doc/classes/RubyGhostEngine.src/M000007.html +24 -0
  204. data/lib/rghost/doc/classes/RubyGhostEngine.src/M000008.html +96 -0
  205. data/lib/rghost/doc/classes/RubyGhostEngine.src/M000009.html +21 -0
  206. data/lib/rghost/doc/classes/RubyToPs.html +272 -0
  207. data/lib/rghost/doc/classes/RubyToPs.src/M000119.html +23 -0
  208. data/lib/rghost/doc/classes/RubyToPs.src/M000120.html +18 -0
  209. data/lib/rghost/doc/classes/RubyToPs.src/M000121.html +18 -0
  210. data/lib/rghost/doc/classes/RubyToPs.src/M000122.html +19 -0
  211. data/lib/rghost/doc/classes/RubyToPs.src/M000123.html +30 -0
  212. data/lib/rghost/doc/classes/RubyToPs.src/M000124.html +18 -0
  213. data/lib/rghost/doc/classes/RubyToPs.src/M000125.html +18 -0
  214. data/lib/rghost/doc/classes/RubyToPs.src/M000126.html +30 -0
  215. data/lib/rghost/doc/classes/Scale.html +153 -0
  216. data/lib/rghost/doc/classes/Scale.src/M000114.html +18 -0
  217. data/lib/rghost/doc/classes/Show.html +203 -0
  218. data/lib/rghost/doc/classes/Show.src/M000052.html +20 -0
  219. data/lib/rghost/doc/classes/Show.src/M000053.html +19 -0
  220. data/lib/rghost/doc/classes/StaticDocumentCallback.html +168 -0
  221. data/lib/rghost/doc/classes/StaticDocumentCallback.src/M000051.html +19 -0
  222. data/lib/rghost/doc/classes/TextArea.html +217 -0
  223. data/lib/rghost/doc/classes/TextArea.src/M000029.html +22 -0
  224. data/lib/rghost/doc/classes/TextArea.src/M000030.html +24 -0
  225. data/lib/rghost/doc/classes/TextIn.html +201 -0
  226. data/lib/rghost/doc/classes/TextIn.src/M000054.html +19 -0
  227. data/lib/rghost/doc/classes/TextIn.src/M000055.html +24 -0
  228. data/lib/rghost/doc/classes/Units.html +166 -0
  229. data/lib/rghost/doc/classes/Units.src/M000169.html +22 -0
  230. data/lib/rghost/doc/classes/Units/Cm.html +145 -0
  231. data/lib/rghost/doc/classes/Units/Cm.src/M000175.html +19 -0
  232. data/lib/rghost/doc/classes/Units/Inch.html +145 -0
  233. data/lib/rghost/doc/classes/Units/Inch.src/M000174.html +18 -0
  234. data/lib/rghost/doc/classes/Units/PSUnit.html +139 -0
  235. data/lib/rghost/doc/classes/Units/PSUnit.src/M000170.html +18 -0
  236. data/lib/rghost/doc/classes/Units/Unit.html +190 -0
  237. data/lib/rghost/doc/classes/Units/Unit.src/M000171.html +18 -0
  238. data/lib/rghost/doc/classes/Units/Unit.src/M000172.html +19 -0
  239. data/lib/rghost/doc/classes/Units/Unit.src/M000173.html +18 -0
  240. data/lib/rghost/doc/classes/Variable.html +152 -0
  241. data/lib/rghost/doc/classes/Variable.src/M000044.html +18 -0
  242. data/lib/rghost/doc/classes/VerticalLine.html +175 -0
  243. data/lib/rghost/doc/classes/VerticalLine.src/M000116.html +23 -0
  244. data/lib/rghost/doc/classes/VerticalLine.src/M000117.html +19 -0
  245. data/lib/rghost/doc/created.rid +1 -0
  246. data/lib/rghost/doc/files/arc_rb.html +109 -0
  247. data/lib/rghost/doc/files/barcode_rb.html +108 -0
  248. data/lib/rghost/doc/files/callback_rb.html +109 -0
  249. data/lib/rghost/doc/files/color_rb.html +110 -0
  250. data/lib/rghost/doc/files/constants_rb.html +108 -0
  251. data/lib/rghost/doc/files/convert_rb.html +107 -0
  252. data/lib/rghost/doc/files/cursor_rb.html +110 -0
  253. data/lib/rghost/doc/files/data_grid/basic_grid_rb.html +108 -0
  254. data/lib/rghost/doc/files/data_grid/csv_grid_rb.html +108 -0
  255. data/lib/rghost/doc/files/data_grid/data_grid_rb.html +116 -0
  256. data/lib/rghost/doc/files/data_grid/dynamic_callback_rb.html +108 -0
  257. data/lib/rghost/doc/files/data_grid/field_format_rb.html +109 -0
  258. data/lib/rghost/doc/files/data_grid/grid_rb.html +108 -0
  259. data/lib/rghost/doc/files/data_grid/header_rb.html +113 -0
  260. data/lib/rghost/doc/files/data_grid/rails_grid_rb.html +108 -0
  261. data/lib/rghost/doc/files/data_grid/static_callback_rb.html +109 -0
  262. data/lib/rghost/doc/files/data_grid/style/border_lines_rb.html +101 -0
  263. data/lib/rghost/doc/files/data_grid/style/bottom_lines_rb.html +101 -0
  264. data/lib/rghost/doc/files/data_grid/style/old_forms_rb.html +101 -0
  265. data/lib/rghost/doc/files/data_grid/style/style_rb.html +110 -0
  266. data/lib/rghost/doc/files/document_rb.html +150 -0
  267. data/lib/rghost/doc/files/dsc_entry_rb.html +108 -0
  268. data/lib/rghost/doc/files/dynamic_document_callback_rb.html +108 -0
  269. data/lib/rghost/doc/files/eps_rb.html +108 -0
  270. data/lib/rghost/doc/files/font_rb.html +110 -0
  271. data/lib/rghost/doc/files/function_rb.html +108 -0
  272. data/lib/rghost/doc/files/gif_rb.html +114 -0
  273. data/lib/rghost/doc/files/graphic_rb.html +113 -0
  274. data/lib/rghost/doc/files/gs_alone_rb.html +101 -0
  275. data/lib/rghost/doc/files/helpers_rb.html +101 -0
  276. data/lib/rghost/doc/files/horizontal_line_rb.html +109 -0
  277. data/lib/rghost/doc/files/image_rb.html +108 -0
  278. data/lib/rghost/doc/files/jpeg_rb.html +112 -0
  279. data/lib/rghost/doc/files/line_rb.html +109 -0
  280. data/lib/rghost/doc/files/line_width_rb.html +108 -0
  281. data/lib/rghost/doc/files/load_rb.html +108 -0
  282. data/lib/rghost/doc/files/newpath_rb.html +113 -0
  283. data/lib/rghost/doc/files/paper_rb.html +112 -0
  284. data/lib/rghost/doc/files/point_rb.html +109 -0
  285. data/lib/rghost/doc/files/point_with_command_rb.html +109 -0
  286. data/lib/rghost/doc/files/ps_object_rb.html +107 -0
  287. data/lib/rghost/doc/files/rectangle_rb.html +110 -0
  288. data/lib/rghost/doc/files/rghost_rb.html +109 -0
  289. data/lib/rghost/doc/files/ruby_ghost_config_rb.html +109 -0
  290. data/lib/rghost/doc/files/ruby_ghost_engine_rb.html +111 -0
  291. data/lib/rghost/doc/files/ruby_to_ps_rb.html +107 -0
  292. data/lib/rghost/doc/files/scale_rb.html +108 -0
  293. data/lib/rghost/doc/files/show_rb.html +109 -0
  294. data/lib/rghost/doc/files/static_document_callback_rb.html +109 -0
  295. data/lib/rghost/doc/files/text_in_rb.html +110 -0
  296. data/lib/rghost/doc/files/textarea_rb.html +111 -0
  297. data/lib/rghost/doc/files/units_rb.html +109 -0
  298. data/lib/rghost/doc/files/variable_rb.html +108 -0
  299. data/lib/rghost/doc/files/version_rb.html +101 -0
  300. data/lib/rghost/doc/files/vertical_line_rb.html +110 -0
  301. data/lib/rghost/doc/fr_class_index.html +93 -0
  302. data/lib/rghost/doc/fr_file_index.html +81 -0
  303. data/lib/rghost/doc/fr_method_index.html +201 -0
  304. data/lib/rghost/doc/index.html +24 -0
  305. data/lib/rghost/ruby_ghost_engine.rb +69 -67
  306. metadata +473 -117
  307. data/History.txt +0 -4
  308. data/Manifest.txt +0 -131
  309. data/README.txt +0 -3
  310. data/Rakefile +0 -93
  311. data/lib/rgteste.rb +0 -46
  312. data/scripts/txt2html +0 -67
  313. data/setup.rb +0 -1585
  314. data/test/test_helper.rb +0 -2
  315. data/test/test_rghost.rb +0 -11
  316. data/website/index.html +0 -11
  317. data/website/index.txt +0 -30
  318. data/website/javascripts/rounded_corners_lite.inc.js +0 -285
  319. data/website/stylesheets/screen.css +0 -129
  320. data/website/template.rhtml +0 -48
@@ -0,0 +1,343 @@
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: DataGrid::BasicGrid</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">DataGrid::BasicGrid</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../../files/data_grid/basic_grid_rb.html">
59
+ data_grid/basic_grid.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
+ <a href="../PsObject.html">
69
+ PsObject
70
+ </a>
71
+ </td>
72
+ </tr>
73
+ </table>
74
+ </div>
75
+ <!-- banner header -->
76
+
77
+ <div id="bodyContent">
78
+
79
+
80
+
81
+ <div id="contextContent">
82
+
83
+ <div id="description">
84
+ <p>
85
+ <a href="Grid.html">Grid</a> b�sica. Pr�totipo para objeto interno <a
86
+ href="Grid.html">Grid</a> em <a href="BasicGrid.html#M000147">ps</a>
87
+ </p>
88
+
89
+ </div>
90
+
91
+
92
+ </div>
93
+
94
+ <div id="method-list">
95
+ <h3 class="section-bar">Methods</h3>
96
+
97
+ <div class="name-list">
98
+ <a href="#M000142">col</a>&nbsp;&nbsp;
99
+ <a href="#M000143">column</a>&nbsp;&nbsp;
100
+ <a href="#M000146">data</a>&nbsp;&nbsp;
101
+ <a href="#M000144">format_field</a>&nbsp;&nbsp;
102
+ <a href="#M000141">method_missing</a>&nbsp;&nbsp;
103
+ <a href="#M000140">new</a>&nbsp;&nbsp;
104
+ <a href="#M000145">proc_line</a>&nbsp;&nbsp;
105
+ <a href="#M000147">ps</a>&nbsp;&nbsp;
106
+ <a href="#M000148">style</a>&nbsp;&nbsp;
107
+ </div>
108
+ </div>
109
+
110
+ </div>
111
+
112
+
113
+ <!-- if includes -->
114
+ <div id="includes">
115
+ <h3 class="section-bar">Included Modules</h3>
116
+
117
+ <div id="includes-list">
118
+ <span class="include-name"><a href="../RubyToPs.html">RubyToPs</a></span>
119
+ </div>
120
+ </div>
121
+
122
+ <div id="section">
123
+
124
+
125
+
126
+
127
+
128
+ <div id="attribute-list">
129
+ <h3 class="section-bar">Attributes</h3>
130
+
131
+ <div class="name-list">
132
+ <table>
133
+ <tr class="top-aligned-row context-row">
134
+ <td class="context-item-name">column_padding</td>
135
+ <td class="context-item-value">&nbsp;[RW]&nbsp;</td>
136
+ <td class="context-item-desc"></td>
137
+ </tr>
138
+ <tr class="top-aligned-row context-row">
139
+ <td class="context-item-name">header</td>
140
+ <td class="context-item-value">&nbsp;[R]&nbsp;</td>
141
+ <td class="context-item-desc"></td>
142
+ </tr>
143
+ </table>
144
+ </div>
145
+ </div>
146
+
147
+
148
+
149
+ <!-- if method_list -->
150
+ <div id="methods">
151
+ <h3 class="section-bar">Public Class methods</h3>
152
+
153
+ <div id="method-M000140" class="method-detail">
154
+ <a name="M000140"></a>
155
+
156
+ <div class="method-heading">
157
+ <a href="BasicGrid.src/M000140.html" target="Code" class="method-signature"
158
+ onclick="popupCode('BasicGrid.src/M000140.html');return false;">
159
+ <span class="method-name">new</span><span class="method-args">(options={})</span>
160
+ </a>
161
+ </div>
162
+
163
+ <div class="method-description">
164
+ <p>
165
+ Nova inst�ncia de <a href="BasicGrid.html">DataGrid::BasicGrid</a>
166
+ </p>
167
+ <pre>
168
+ Na constru��o do objeto segue as op��es
169
+ :headings =&gt; true #ou false para n�o apresentar o header
170
+ :column_padding =&gt; #Espa�o entre o dado e o limite da coluna
171
+ </pre>
172
+ <p>
173
+ Op��es padr�o para todas as colunas. Facades para FataGridHeader
174
+ </p>
175
+ <pre>
176
+ :width =&gt; 2.5 #Largura da coluna
177
+ :align =&gt; :left #Alinhamento os dados em rela��o a coluna (:right, :center, :left )
178
+ :title_align =&gt; :left #Alinhamento do t�tulo
179
+ :format =&gt; &quot;%0.2f&quot; #Formatador de dados onde o par�metro s�o.
180
+ Symbol - Procura o m�todo com o mesmo nome definido no m�dulo DataGrid::FieldFormat::method_name
181
+ String - Formata com os padr�es definidos em sprintf
182
+ Class - Uma heran�a de DataGrid::FieldFormat::Custom com override no m�todo format.
183
+ Proc - Um bloco. No exemplo um texto limitado a 9 caracteres.
184
+ </pre>
185
+ </div>
186
+ </div>
187
+
188
+ <h3 class="section-bar">Public Instance methods</h3>
189
+
190
+ <div id="method-M000142" class="method-detail">
191
+ <a name="M000142"></a>
192
+
193
+ <div class="method-heading">
194
+ <a href="BasicGrid.src/M000142.html" target="Code" class="method-signature"
195
+ onclick="popupCode('BasicGrid.src/M000142.html');return false;">
196
+ <span class="method-name">col</span><span class="method-args">(title=&quot;&quot;, options={})</span>
197
+ </a>
198
+ </div>
199
+
200
+ <div class="method-description">
201
+ <p>
202
+ Adiciona uma coluna passando o t�tulo e op��es personalizadas. Um Hash com
203
+ :title. Facade <a href="Header.html#M000152">DataGrid::Header.col</a>
204
+ </p>
205
+ </div>
206
+ </div>
207
+
208
+ <div id="method-M000143" class="method-detail">
209
+ <a name="M000143"></a>
210
+
211
+ <div class="method-heading">
212
+ <a href="BasicGrid.src/M000143.html" target="Code" class="method-signature"
213
+ onclick="popupCode('BasicGrid.src/M000143.html');return false;">
214
+ <span class="method-name">column</span><span class="method-args">(title=&quot;&quot;, options={})</span>
215
+ </a>
216
+ </div>
217
+
218
+ <div class="method-description">
219
+ <p>
220
+ Alias <a href="BasicGrid.html#M000142">col</a>
221
+ </p>
222
+ </div>
223
+ </div>
224
+
225
+ <div id="method-M000146" class="method-detail">
226
+ <a name="M000146"></a>
227
+
228
+ <div class="method-heading">
229
+ <a href="BasicGrid.src/M000146.html" target="Code" class="method-signature"
230
+ onclick="popupCode('BasicGrid.src/M000146.html');return false;">
231
+ <span class="method-name">data</span><span class="method-args">(data)</span>
232
+ </a>
233
+ </div>
234
+
235
+ <div class="method-description">
236
+ <p>
237
+ Informa os dados com as colunas da mesma quantidade de t�tulos
238
+ </p>
239
+ </div>
240
+ </div>
241
+
242
+ <div id="method-M000144" class="method-detail">
243
+ <a name="M000144"></a>
244
+
245
+ <div class="method-heading">
246
+ <a href="BasicGrid.src/M000144.html" target="Code" class="method-signature"
247
+ onclick="popupCode('BasicGrid.src/M000144.html');return false;">
248
+ <span class="method-name">format_field</span><span class="method-args">(value,type)</span>
249
+ </a>
250
+ </div>
251
+
252
+ <div class="method-description">
253
+ <p>
254
+ Converte o dado no formato sugerido
255
+ </p>
256
+ </div>
257
+ </div>
258
+
259
+ <div id="method-M000141" class="method-detail">
260
+ <a name="M000141"></a>
261
+
262
+ <div class="method-heading">
263
+ <a href="BasicGrid.src/M000141.html" target="Code" class="method-signature"
264
+ onclick="popupCode('BasicGrid.src/M000141.html');return false;">
265
+ <span class="method-name">method_missing</span><span class="method-args">(name,*args,&amp;block)</span>
266
+ </a>
267
+ </div>
268
+
269
+ <div class="method-description">
270
+ <p>
271
+ Trata os callbacks a n�vel de <a href="Grid.html">Grid</a> definidos em
272
+ DataGrid::DynamicCallback::ACCEPT e DataGrid::StaticCallback::ACCEPT
273
+ </p>
274
+ </div>
275
+ </div>
276
+
277
+ <div id="method-M000145" class="method-detail">
278
+ <a name="M000145"></a>
279
+
280
+ <div class="method-heading">
281
+ <a href="BasicGrid.src/M000145.html" target="Code" class="method-signature"
282
+ onclick="popupCode('BasicGrid.src/M000145.html');return false;">
283
+ <span class="method-name">proc_line</span><span class="method-args">(line)</span>
284
+ </a>
285
+ </div>
286
+
287
+ <div class="method-description">
288
+ <p>
289
+ Processa as linhas no formato <a href="BasicGrid.html#M000147">ps</a>
290
+ esperado
291
+ </p>
292
+ </div>
293
+ </div>
294
+
295
+ <div id="method-M000147" class="method-detail">
296
+ <a name="M000147"></a>
297
+
298
+ <div class="method-heading">
299
+ <a href="BasicGrid.src/M000147.html" target="Code" class="method-signature"
300
+ onclick="popupCode('BasicGrid.src/M000147.html');return false;">
301
+ <span class="method-name">ps</span><span class="method-args">()</span>
302
+ </a>
303
+ </div>
304
+
305
+ <div class="method-description">
306
+ </div>
307
+ </div>
308
+
309
+ <div id="method-M000148" class="method-detail">
310
+ <a name="M000148"></a>
311
+
312
+ <div class="method-heading">
313
+ <a href="BasicGrid.src/M000148.html" target="Code" class="method-signature"
314
+ onclick="popupCode('BasicGrid.src/M000148.html');return false;">
315
+ <span class="method-name">style</span><span class="method-args">(type=:border_lines)</span>
316
+ </a>
317
+ </div>
318
+
319
+ <div class="method-description">
320
+ <p>
321
+ Informa o estilo predefinido da grid. Validados
322
+ </p>
323
+ <pre>
324
+ :border_lines #aponta para DataGrid::Style::BorderLines.new
325
+ :old_forms #aponta para DataGrid::Style::OldForms.new
326
+ :bottom_lines #aponta para DataGrid::Style::BottomLines.new
327
+ </pre>
328
+ </div>
329
+ </div>
330
+
331
+
332
+ </div>
333
+
334
+
335
+ </div>
336
+
337
+
338
+ <div id="validator-badges">
339
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
340
+ </div>
341
+
342
+ </body>
343
+ </html>
@@ -0,0 +1,27 @@
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 (DataGrid::BasicGrid)</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 data_grid/basic_grid.rb, line 21</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">options</span>={})
15
+ <span class="ruby-identifier">h</span>= (<span class="ruby-identifier">options</span>[<span class="ruby-identifier">:headings</span>] <span class="ruby-operator">==</span> <span class="ruby-keyword kw">false</span>)<span class="ruby-operator">?</span><span class="ruby-keyword kw">false</span><span class="ruby-operator">:</span><span class="ruby-keyword kw">true</span>
16
+ <span class="ruby-ivar">@header</span>=<span class="ruby-constant">DataGrid</span><span class="ruby-operator">::</span><span class="ruby-constant">Header</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">h</span>)
17
+ <span class="ruby-ivar">@header</span>.<span class="ruby-identifier">default_options</span>(<span class="ruby-identifier">options</span>)
18
+ <span class="ruby-ivar">@callbacks</span>=<span class="ruby-constant">PsObject</span>.<span class="ruby-identifier">new</span>
19
+ <span class="ruby-ivar">@column_padding</span>=<span class="ruby-value">0</span><span class="ruby-value">.1</span> <span class="ruby-operator">||</span> <span class="ruby-identifier">options</span>[<span class="ruby-identifier">:column_padding</span>]
20
+ <span class="ruby-ivar">@record_count</span>=<span class="ruby-value">1</span>
21
+ <span class="ruby-ivar">@data</span>=[]
22
+ <span class="ruby-ivar">@data</span>[<span class="ruby-value">0</span>]=[]
23
+ <span class="ruby-ivar">@data_index</span>=<span class="ruby-value">0</span>
24
+ <span class="ruby-ivar">@max_stack</span>=<span class="ruby-constant">RubyGhostConfig</span><span class="ruby-operator">::</span><span class="ruby-constant">GS</span>[<span class="ruby-identifier">:stack_elements</span>]
25
+ <span class="ruby-keyword kw">end</span></pre>
26
+ </body>
27
+ </html>
@@ -0,0 +1,26 @@
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>method_missing (DataGrid::BasicGrid)</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 data_grid/basic_grid.rb, line 35</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">method_missing</span>(<span class="ruby-identifier">name</span>,<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>,<span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
15
+
16
+ <span class="ruby-keyword kw">case</span> <span class="ruby-identifier">name</span>
17
+ <span class="ruby-keyword kw">when</span> <span class="ruby-operator">*</span><span class="ruby-constant">DataGrid</span><span class="ruby-operator">::</span><span class="ruby-constant">DynamicCallback</span><span class="ruby-operator">::</span><span class="ruby-constant">ACCEPT</span><span class="ruby-operator">:</span>
18
+ <span class="ruby-ivar">@callbacks</span>.<span class="ruby-identifier">set</span> <span class="ruby-constant">DataGrid</span><span class="ruby-operator">::</span><span class="ruby-constant">DynamicCallback</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">name</span>,<span class="ruby-identifier">args</span>.<span class="ruby-identifier">shift</span> <span class="ruby-operator">||</span> {},<span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
19
+ <span class="ruby-keyword kw">when</span> <span class="ruby-operator">*</span><span class="ruby-constant">DataGrid</span><span class="ruby-operator">::</span><span class="ruby-constant">StaticCallback</span><span class="ruby-operator">::</span><span class="ruby-constant">ACCEPT</span><span class="ruby-operator">:</span>
20
+ <span class="ruby-ivar">@callbacks</span>.<span class="ruby-identifier">set</span> <span class="ruby-constant">DataGrid</span><span class="ruby-operator">::</span><span class="ruby-constant">StaticCallback</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">name</span>,<span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
21
+ <span class="ruby-keyword kw">else</span>
22
+ <span class="ruby-identifier">raise</span> <span class="ruby-constant">NameError</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">name</span>.<span class="ruby-identifier">to_s</span>)
23
+ <span class="ruby-keyword kw">end</span>
24
+ <span class="ruby-keyword kw">end</span></pre>
25
+ </body>
26
+ </html>
@@ -0,0 +1,22 @@
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>col (DataGrid::BasicGrid)</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 data_grid/basic_grid.rb, line 47</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">col</span>(<span class="ruby-identifier">title</span>=<span class="ruby-value str">&quot;&quot;</span>, <span class="ruby-identifier">options</span>={})
15
+ <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">title</span>.<span class="ruby-identifier">is_a?</span> <span class="ruby-constant">Hash</span>
16
+ <span class="ruby-ivar">@header</span>.<span class="ruby-identifier">col</span>(<span class="ruby-identifier">title</span>[<span class="ruby-identifier">:title</span>],<span class="ruby-identifier">title</span>)
17
+ <span class="ruby-keyword kw">else</span>
18
+ <span class="ruby-ivar">@header</span>.<span class="ruby-identifier">col</span>(<span class="ruby-identifier">title</span>,<span class="ruby-identifier">options</span>)
19
+ <span class="ruby-keyword kw">end</span>
20
+ <span class="ruby-keyword kw">end</span></pre>
21
+ </body>
22
+ </html>
@@ -0,0 +1,19 @@
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>column (DataGrid::BasicGrid)</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 data_grid/basic_grid.rb, line 55</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">column</span>(<span class="ruby-identifier">title</span>=<span class="ruby-value str">&quot;&quot;</span>, <span class="ruby-identifier">options</span>={})
15
+ <span class="ruby-identifier">col</span>(<span class="ruby-identifier">title</span>,<span class="ruby-identifier">options</span>)
16
+
17
+ <span class="ruby-keyword kw">end</span></pre>
18
+ </body>
19
+ </html>
@@ -0,0 +1,26 @@
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>format_field (DataGrid::BasicGrid)</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 data_grid/basic_grid.rb, line 60</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">format_field</span>(<span class="ruby-identifier">value</span>,<span class="ruby-identifier">type</span>)
15
+ <span class="ruby-keyword kw">case</span> <span class="ruby-identifier">type</span>
16
+ <span class="ruby-keyword kw">when</span> <span class="ruby-constant">Symbol</span><span class="ruby-operator">:</span> <span class="ruby-constant">DataGrid</span><span class="ruby-operator">::</span><span class="ruby-constant">FieldFormat</span>.<span class="ruby-identifier">send</span>(<span class="ruby-identifier">type</span>,<span class="ruby-identifier">value</span>)
17
+ <span class="ruby-keyword kw">when</span> <span class="ruby-constant">String</span><span class="ruby-operator">:</span> <span class="ruby-constant">DataGrid</span><span class="ruby-operator">::</span><span class="ruby-constant">FieldFormat</span>.<span class="ruby-identifier">string</span>(<span class="ruby-identifier">type</span> <span class="ruby-operator">%</span> <span class="ruby-identifier">value</span>)
18
+ <span class="ruby-keyword kw">when</span> <span class="ruby-constant">Class</span><span class="ruby-operator">:</span> <span class="ruby-identifier">type</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">value</span>).<span class="ruby-identifier">gs_format</span>
19
+ <span class="ruby-keyword kw">when</span> <span class="ruby-constant">Proc</span><span class="ruby-operator">:</span> <span class="ruby-constant">DataGrid</span><span class="ruby-operator">::</span><span class="ruby-constant">FieldFormat</span>.<span class="ruby-identifier">string</span>(<span class="ruby-identifier">type</span>.<span class="ruby-identifier">call</span>(<span class="ruby-identifier">value</span>))
20
+
21
+ <span class="ruby-keyword kw">else</span> <span class="ruby-identifier">raise</span> <span class="ruby-constant">TypeError</span>.<span class="ruby-identifier">new</span>(<span class="ruby-node">&quot;type=#{type}, value type=#{value.class}&quot;</span>)
22
+ <span class="ruby-keyword kw">end</span>
23
+
24
+ <span class="ruby-keyword kw">end</span></pre>
25
+ </body>
26
+ </html>