rango 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1046) hide show
  1. data/CONTRIBUTORS +2 -0
  2. data/README.textile +9 -10
  3. data/benchmarks/ab.rb +6 -0
  4. data/benchmarks/bm/boot.rb +20 -0
  5. data/{lib/rango/helpers/spec/fixture/app/views/foo/bar.html.erb → benchmarks/bm/callbacks.rb} +0 -0
  6. data/benchmarks/bm/request.rb +4 -0
  7. data/benchmarks/bm/routers.rb +22 -0
  8. data/benchmarks/bm/stack.rb +19 -0
  9. data/{spec/rango/auth/core/authenticated_helper_spec.rb → benchmarks/bm/templates.rb} +0 -0
  10. data/benchmarks/helper.rb +7 -0
  11. data/benchmarks/stubs/merb-app/Rakefile +35 -0
  12. data/benchmarks/stubs/merb-app/app/controllers/application.rb +4 -0
  13. data/benchmarks/stubs/merb-app/app/controllers/exceptions.rb +15 -0
  14. data/benchmarks/stubs/merb-app/app/helpers/global_helpers.rb +7 -0
  15. data/benchmarks/stubs/merb-app/app/models/user.rb +19 -0
  16. data/benchmarks/stubs/merb-app/app/views/exceptions/not_acceptable.html.erb +63 -0
  17. data/benchmarks/stubs/merb-app/app/views/exceptions/not_found.html.erb +47 -0
  18. data/benchmarks/stubs/merb-app/app/views/layout/application.html.erb +12 -0
  19. data/benchmarks/stubs/merb-app/autotest/discover.rb +4 -0
  20. data/benchmarks/stubs/merb-app/autotest/merb.rb +154 -0
  21. data/benchmarks/stubs/merb-app/autotest/merb_rspec.rb +167 -0
  22. data/benchmarks/stubs/merb-app/config/database.yml +33 -0
  23. data/benchmarks/stubs/merb-app/config/dependencies.rb +36 -0
  24. data/benchmarks/stubs/merb-app/config/environments/development.rb +17 -0
  25. data/benchmarks/stubs/merb-app/config/environments/production.rb +12 -0
  26. data/benchmarks/stubs/merb-app/config/environments/rake.rb +13 -0
  27. data/benchmarks/stubs/merb-app/config/environments/staging.rb +12 -0
  28. data/benchmarks/stubs/merb-app/config/environments/test.rb +14 -0
  29. data/benchmarks/stubs/merb-app/config/init.rb +26 -0
  30. data/benchmarks/stubs/merb-app/config/rack.rb +13 -0
  31. data/benchmarks/stubs/merb-app/config/router.rb +46 -0
  32. data/benchmarks/stubs/merb-app/doc/rdoc/generators/merb_generator.rb +1364 -0
  33. data/benchmarks/stubs/merb-app/doc/rdoc/generators/template/merb/api_grease.js +640 -0
  34. data/benchmarks/stubs/merb-app/doc/rdoc/generators/template/merb/index.html.erb +37 -0
  35. data/benchmarks/stubs/merb-app/doc/rdoc/generators/template/merb/merb.css +252 -0
  36. data/benchmarks/stubs/merb-app/doc/rdoc/generators/template/merb/merb.rb +353 -0
  37. data/benchmarks/stubs/merb-app/doc/rdoc/generators/template/merb/merb_doc_styles.css +492 -0
  38. data/benchmarks/stubs/merb-app/doc/rdoc/generators/template/merb/prototype.js +2515 -0
  39. data/benchmarks/stubs/merb-app/merb/merb-auth/setup.rb +46 -0
  40. data/benchmarks/stubs/merb-app/merb/merb-auth/strategies.rb +13 -0
  41. data/benchmarks/stubs/merb-app/merb/session/session.rb +11 -0
  42. data/benchmarks/stubs/merb-app/public/favicon.ico +0 -0
  43. data/benchmarks/stubs/merb-app/public/images/merb.jpg +0 -0
  44. data/benchmarks/stubs/merb-app/public/javascripts/application.js +1 -0
  45. data/benchmarks/stubs/merb-app/public/javascripts/jquery.js +19 -0
  46. data/benchmarks/stubs/merb-app/public/merb.fcgi +22 -0
  47. data/benchmarks/stubs/merb-app/public/robots.txt +5 -0
  48. data/benchmarks/stubs/merb-app/public/stylesheets/master.css +119 -0
  49. data/{spec/rango/auth/core/authentication_spec.rb → benchmarks/stubs/merb-app/spec/spec.opts} +0 -0
  50. data/benchmarks/stubs/merb-app/spec/spec_helper.rb +27 -0
  51. data/benchmarks/stubs/merb-app/tasks/doc.thor +151 -0
  52. data/benchmarks/stubs/merb-app/tasks/merb.thor/app_script.rb +33 -0
  53. data/benchmarks/stubs/merb-app/tasks/merb.thor/common.rb +70 -0
  54. data/benchmarks/stubs/merb-app/tasks/merb.thor/gem_ext.rb +127 -0
  55. data/benchmarks/stubs/merb-app/tasks/merb.thor/main.thor +152 -0
  56. data/benchmarks/stubs/merb-app/tasks/merb.thor/ops.rb +95 -0
  57. data/benchmarks/stubs/merb-app/tasks/merb.thor/utils.rb +42 -0
  58. data/benchmarks/stubs/merb-core/Rakefile +35 -0
  59. data/benchmarks/stubs/merb-core/app/controllers/application.rb +4 -0
  60. data/benchmarks/stubs/merb-core/app/controllers/exceptions.rb +15 -0
  61. data/benchmarks/stubs/merb-core/app/helpers/global_helpers.rb +7 -0
  62. data/benchmarks/stubs/merb-core/app/views/exceptions/not_acceptable.html.erb +63 -0
  63. data/benchmarks/stubs/merb-core/app/views/exceptions/not_found.html.erb +47 -0
  64. data/benchmarks/stubs/merb-core/app/views/layout/application.html.erb +12 -0
  65. data/benchmarks/stubs/merb-core/autotest/discover.rb +1 -0
  66. data/benchmarks/stubs/merb-core/autotest/merb.rb +151 -0
  67. data/benchmarks/stubs/merb-core/autotest/merb_rspec.rb +167 -0
  68. data/benchmarks/stubs/merb-core/config/environments/development.rb +17 -0
  69. data/benchmarks/stubs/merb-core/config/environments/production.rb +12 -0
  70. data/benchmarks/stubs/merb-core/config/environments/rake.rb +13 -0
  71. data/benchmarks/stubs/merb-core/config/environments/staging.rb +12 -0
  72. data/benchmarks/stubs/merb-core/config/environments/test.rb +14 -0
  73. data/benchmarks/stubs/merb-core/config/init.rb +27 -0
  74. data/benchmarks/stubs/merb-core/config/rack.rb +13 -0
  75. data/benchmarks/stubs/merb-core/config/router.rb +43 -0
  76. data/benchmarks/stubs/merb-core/doc/rdoc/generators/merb_generator.rb +1364 -0
  77. data/benchmarks/stubs/merb-core/doc/rdoc/generators/template/merb/api_grease.js +640 -0
  78. data/benchmarks/stubs/merb-core/doc/rdoc/generators/template/merb/index.html.erb +37 -0
  79. data/benchmarks/stubs/merb-core/doc/rdoc/generators/template/merb/merb.css +252 -0
  80. data/benchmarks/stubs/merb-core/doc/rdoc/generators/template/merb/merb.rb +353 -0
  81. data/benchmarks/stubs/merb-core/doc/rdoc/generators/template/merb/merb_doc_styles.css +492 -0
  82. data/benchmarks/stubs/merb-core/doc/rdoc/generators/template/merb/prototype.js +2515 -0
  83. data/benchmarks/stubs/merb-core/public/favicon.ico +0 -0
  84. data/benchmarks/stubs/merb-core/public/images/merb.jpg +0 -0
  85. data/benchmarks/stubs/merb-core/public/javascripts/application.js +1 -0
  86. data/benchmarks/stubs/merb-core/public/merb.fcgi +22 -0
  87. data/benchmarks/stubs/merb-core/public/robots.txt +5 -0
  88. data/benchmarks/stubs/merb-core/public/stylesheets/master.css +119 -0
  89. data/{spec/rango/auth/core/callbacks_spec.rb → benchmarks/stubs/merb-core/spec/spec.opts} +0 -0
  90. data/benchmarks/stubs/merb-core/spec/spec_helper.rb +22 -0
  91. data/benchmarks/stubs/merb-core/tasks/merb.thor/app_script.rb +33 -0
  92. data/benchmarks/stubs/merb-core/tasks/merb.thor/common.rb +70 -0
  93. data/benchmarks/stubs/merb-core/tasks/merb.thor/gem_ext.rb +127 -0
  94. data/benchmarks/stubs/merb-core/tasks/merb.thor/main.thor +152 -0
  95. data/benchmarks/stubs/merb-core/tasks/merb.thor/ops.rb +95 -0
  96. data/benchmarks/stubs/merb-core/tasks/merb.thor/utils.rb +42 -0
  97. data/benchmarks/stubs/merb-flat/README.txt +10 -0
  98. data/benchmarks/stubs/merb-flat/Rakefile +35 -0
  99. data/benchmarks/stubs/merb-flat/application.rb +17 -0
  100. data/benchmarks/stubs/merb-flat/config/framework.rb +9 -0
  101. data/benchmarks/stubs/merb-flat/config/init.rb +42 -0
  102. data/benchmarks/stubs/merb-flat/spec/spec_helper.rb +26 -0
  103. data/benchmarks/stubs/merb-flat/tasks/merb.thor/app_script.rb +33 -0
  104. data/benchmarks/stubs/merb-flat/tasks/merb.thor/common.rb +70 -0
  105. data/benchmarks/stubs/merb-flat/tasks/merb.thor/gem_ext.rb +127 -0
  106. data/benchmarks/stubs/merb-flat/tasks/merb.thor/main.thor +152 -0
  107. data/benchmarks/stubs/merb-flat/tasks/merb.thor/ops.rb +95 -0
  108. data/benchmarks/stubs/merb-flat/tasks/merb.thor/utils.rb +42 -0
  109. data/benchmarks/stubs/merb-flat/views/foo.html.erb +3 -0
  110. data/benchmarks/stubs/merb-very-flat/Rakefile +35 -0
  111. data/benchmarks/stubs/merb-very-flat/merb-very-flat.rb +61 -0
  112. data/benchmarks/stubs/merb-very-flat/spec/spec_helper.rb +26 -0
  113. data/benchmarks/stubs/merb-very-flat/tasks/merb.thor/app_script.rb +33 -0
  114. data/benchmarks/stubs/merb-very-flat/tasks/merb.thor/common.rb +70 -0
  115. data/benchmarks/stubs/merb-very-flat/tasks/merb.thor/gem_ext.rb +127 -0
  116. data/benchmarks/stubs/merb-very-flat/tasks/merb.thor/main.thor +152 -0
  117. data/benchmarks/stubs/merb-very-flat/tasks/merb.thor/ops.rb +95 -0
  118. data/benchmarks/stubs/merb-very-flat/tasks/merb.thor/utils.rb +42 -0
  119. data/benchmarks/stubs/rails/README +243 -0
  120. data/benchmarks/stubs/rails/Rakefile +10 -0
  121. data/benchmarks/stubs/rails/app/controllers/application_controller.rb +12 -0
  122. data/benchmarks/stubs/rails/app/helpers/application_helper.rb +5 -0
  123. data/benchmarks/stubs/rails/config/boot.rb +112 -0
  124. data/benchmarks/stubs/rails/config/database.yml +22 -0
  125. data/benchmarks/stubs/rails/config/environment.rb +43 -0
  126. data/benchmarks/stubs/rails/config/environments/development.rb +19 -0
  127. data/benchmarks/stubs/rails/config/environments/production.rb +30 -0
  128. data/benchmarks/stubs/rails/config/environments/test.rb +30 -0
  129. data/benchmarks/stubs/rails/config/initializers/backtrace_silencers.rb +9 -0
  130. data/benchmarks/stubs/rails/config/initializers/inflections.rb +12 -0
  131. data/benchmarks/stubs/rails/config/initializers/mime_types.rb +7 -0
  132. data/benchmarks/stubs/rails/config/initializers/new_rails_defaults.rb +21 -0
  133. data/benchmarks/stubs/rails/config/initializers/session_store.rb +17 -0
  134. data/benchmarks/stubs/rails/config/locales/en.yml +5 -0
  135. data/benchmarks/stubs/rails/config/routes.rb +45 -0
  136. data/benchmarks/stubs/rails/doc/README_FOR_APP +2 -0
  137. data/{spec/rango/auth/core/errors_spec.rb → benchmarks/stubs/rails/log/development.log} +0 -0
  138. data/{spec/rango/auth/core/responses_spec.rb → benchmarks/stubs/rails/log/production.log} +0 -0
  139. data/{spec/rango/auth/core/session_mixin_spec.rb → benchmarks/stubs/rails/log/server.log} +0 -0
  140. data/{spec/rango/auth/core/spec/helpers/authentication_helper_spec_spec.rb → benchmarks/stubs/rails/log/test.log} +0 -0
  141. data/benchmarks/stubs/rails/public/404.html +30 -0
  142. data/benchmarks/stubs/rails/public/422.html +30 -0
  143. data/benchmarks/stubs/rails/public/500.html +30 -0
  144. data/{spec/rango/auth/core/spec/merb-auth-core/activation_fixture_spec.rb → benchmarks/stubs/rails/public/favicon.ico} +0 -0
  145. data/benchmarks/stubs/rails/public/images/rails.png +0 -0
  146. data/benchmarks/stubs/rails/public/index.html +275 -0
  147. data/benchmarks/stubs/rails/public/javascripts/application.js +2 -0
  148. data/benchmarks/stubs/rails/public/javascripts/controls.js +963 -0
  149. data/benchmarks/stubs/rails/public/javascripts/dragdrop.js +973 -0
  150. data/benchmarks/stubs/rails/public/javascripts/effects.js +1128 -0
  151. data/benchmarks/stubs/rails/public/javascripts/prototype.js +4320 -0
  152. data/benchmarks/stubs/rails/public/robots.txt +5 -0
  153. data/benchmarks/stubs/rails/script/about +4 -0
  154. data/benchmarks/stubs/rails/script/console +3 -0
  155. data/benchmarks/stubs/rails/script/dbconsole +3 -0
  156. data/benchmarks/stubs/rails/script/destroy +3 -0
  157. data/benchmarks/stubs/rails/script/generate +3 -0
  158. data/benchmarks/stubs/rails/script/performance/benchmarker +3 -0
  159. data/benchmarks/stubs/rails/script/performance/profiler +3 -0
  160. data/benchmarks/stubs/rails/script/plugin +3 -0
  161. data/benchmarks/stubs/rails/script/runner +3 -0
  162. data/benchmarks/stubs/rails/script/server +3 -0
  163. data/benchmarks/stubs/rails/test/performance/browsing_test.rb +11 -0
  164. data/benchmarks/stubs/rails/test/test_helper.rb +40 -0
  165. data/{spec/rango/auth/core/spec/merb-auth-core/authentication_spec_spec.rb → benchmarks/stubs/ramaze.rb} +0 -0
  166. data/benchmarks/stubs/sinatra.rb +11 -0
  167. data/bin/rango +10 -9
  168. data/cucumber.yml +1 -0
  169. data/doc/0.0.3/Array.html +354 -0
  170. data/doc/0.0.3/AttributeMixin.html +697 -0
  171. data/doc/0.0.3/Class.html +102 -0
  172. data/doc/0.0.3/ColoredString.html +476 -0
  173. data/doc/0.0.3/Enumerable.html +256 -0
  174. data/doc/0.0.3/File.html +909 -0
  175. data/doc/0.0.3/Hash.html +1586 -0
  176. data/doc/0.0.3/Kernel.html +956 -0
  177. data/doc/0.0.3/OS.html +740 -0
  178. data/doc/0.0.3/Object.html +466 -0
  179. data/doc/0.0.3/ObjectSpace.html +184 -0
  180. data/doc/0.0.3/Path.html +2499 -0
  181. data/doc/0.0.3/Range.html +190 -0
  182. data/doc/0.0.3/Rango.html +379 -0
  183. data/doc/0.0.3/Rango/ApplicationMixin.html +396 -0
  184. data/doc/0.0.3/Rango/Bundling.html +23 -0
  185. data/doc/0.0.3/Rango/Bundling/RequireStrategy.html +283 -0
  186. data/doc/0.0.3/Rango/Bundling/Strategy.html +703 -0
  187. data/doc/0.0.3/Rango/CLI.html +23 -0
  188. data/doc/0.0.3/Rango/CLI/Generator.html +762 -0
  189. data/doc/0.0.3/Rango/CLI/Templater.html +258 -0
  190. data/doc/0.0.3/Rango/CallableStrategy.html +300 -0
  191. data/doc/0.0.3/Rango/Chainable.html +181 -0
  192. data/doc/0.0.3/Rango/Configurable.html +199 -0
  193. data/doc/0.0.3/Rango/Controller.html +962 -0
  194. data/doc/0.0.3/Rango/ControllerMixin.html +860 -0
  195. data/doc/0.0.3/Rango/ControllerStrategy.html +264 -0
  196. data/doc/0.0.3/Rango/DependencyStrategy.html +116 -0
  197. data/doc/0.0.3/Rango/Dispatcher.html +305 -0
  198. data/doc/0.0.3/Rango/Form.html +162 -0
  199. data/doc/0.0.3/Rango/GemDependencyStrategy.html +210 -0
  200. data/doc/0.0.3/Rango/Generator.html +93 -0
  201. data/doc/0.0.3/Rango/GenericViews.html +128 -0
  202. data/doc/0.0.3/Rango/GitDependencyStrategy.html +224 -0
  203. data/doc/0.0.3/Rango/GithubDependencyStrategy.html +118 -0
  204. data/doc/0.0.3/Rango/Handler.html +474 -0
  205. data/doc/0.0.3/Rango/Helpers.html +1335 -0
  206. data/doc/0.0.3/Rango/Hookable.html +202 -0
  207. data/doc/0.0.3/Rango/ImportMixin.html +755 -0
  208. data/doc/0.0.3/Rango/Logger.html +920 -0
  209. data/doc/0.0.3/Rango/Mini.html +117 -0
  210. data/doc/0.0.3/Rango/ModelForm.html +42 -0
  211. data/doc/0.0.3/Rango/Project.html +516 -0
  212. data/doc/0.0.3/Rango/RenderMixin.html +23 -0
  213. data/doc/0.0.3/Rango/Request.html +1177 -0
  214. data/doc/0.0.3/Rango/Route.html +751 -0
  215. data/doc/0.0.3/Rango/Router.html +42 -0
  216. data/doc/0.0.3/Rango/Router/Dispatcher.html +311 -0
  217. data/doc/0.0.3/Rango/RouterStrategy.html +258 -0
  218. data/doc/0.0.3/Rango/Session.html +23 -0
  219. data/doc/0.0.3/Rango/Settings.html +23 -0
  220. data/doc/0.0.3/Rango/Settings/Erubis.html +23 -0
  221. data/doc/0.0.3/Rango/Settings/Framework.html +254 -0
  222. data/doc/0.0.3/Rango/Settings/Haml.html +23 -0
  223. data/doc/0.0.3/Rango/Settings/Template.html +23 -0
  224. data/doc/0.0.3/Rango/SimpleTemplate.html +187 -0
  225. data/doc/0.0.3/Rango/StrategyMixin.html +261 -0
  226. data/doc/0.0.3/Rango/Tasks.html +219 -0
  227. data/doc/0.0.3/Rango/Template.html +95 -0
  228. data/doc/0.0.3/Rango/Template/Adapter.html +90 -0
  229. data/doc/0.0.3/Rango/Templates.html +116 -0
  230. data/doc/0.0.3/Rango/Templates/Adapter.html +128 -0
  231. data/doc/0.0.3/Rango/Templates/Template.html +636 -0
  232. data/doc/0.0.3/Rango/Templates/TemplateHelpers.html +328 -0
  233. data/doc/0.0.3/RangoThor.html +205 -0
  234. data/doc/0.0.3/String.html +307 -0
  235. data/doc/0.0.3/Time.html +193 -0
  236. data/doc/0.0.3/TimeDSL.html +601 -0
  237. data/doc/0.0.3/all-methods.html +1908 -0
  238. data/doc/0.0.3/all-namespaces.html +114 -0
  239. data/doc/0.0.3/app.js +18 -0
  240. data/doc/0.0.3/head/Array.html +354 -0
  241. data/doc/0.0.3/head/AttributeMixin.html +697 -0
  242. data/doc/0.0.3/head/Class.html +102 -0
  243. data/doc/0.0.3/head/ColoredString.html +476 -0
  244. data/doc/0.0.3/head/Enumerable.html +256 -0
  245. data/doc/0.0.3/head/File.html +909 -0
  246. data/doc/0.0.3/head/Hash.html +1586 -0
  247. data/doc/0.0.3/head/Kernel.html +956 -0
  248. data/doc/0.0.3/head/OS.html +740 -0
  249. data/doc/0.0.3/head/Object.html +466 -0
  250. data/doc/0.0.3/head/ObjectSpace.html +184 -0
  251. data/doc/0.0.3/head/Path.html +2499 -0
  252. data/doc/0.0.3/head/Range.html +190 -0
  253. data/doc/0.0.3/head/Rango.html +379 -0
  254. data/doc/0.0.3/head/Rango/ApplicationMixin.html +396 -0
  255. data/doc/0.0.3/head/Rango/Bundling.html +23 -0
  256. data/doc/0.0.3/head/Rango/Bundling/RequireStrategy.html +283 -0
  257. data/doc/0.0.3/head/Rango/Bundling/Strategy.html +703 -0
  258. data/doc/0.0.3/head/Rango/CLI.html +23 -0
  259. data/doc/0.0.3/head/Rango/CLI/Generator.html +762 -0
  260. data/doc/0.0.3/head/Rango/CLI/Templater.html +258 -0
  261. data/doc/0.0.3/head/Rango/CallableStrategy.html +300 -0
  262. data/doc/0.0.3/head/Rango/Chainable.html +181 -0
  263. data/doc/0.0.3/head/Rango/Configurable.html +199 -0
  264. data/doc/0.0.3/head/Rango/Controller.html +962 -0
  265. data/doc/0.0.3/head/Rango/ControllerMixin.html +860 -0
  266. data/doc/0.0.3/head/Rango/ControllerStrategy.html +264 -0
  267. data/doc/0.0.3/head/Rango/DependencyStrategy.html +116 -0
  268. data/doc/0.0.3/head/Rango/Dispatcher.html +305 -0
  269. data/doc/0.0.3/head/Rango/Form.html +162 -0
  270. data/doc/0.0.3/head/Rango/GemDependencyStrategy.html +210 -0
  271. data/doc/0.0.3/head/Rango/Generator.html +93 -0
  272. data/doc/0.0.3/head/Rango/GenericViews.html +128 -0
  273. data/doc/0.0.3/head/Rango/GitDependencyStrategy.html +224 -0
  274. data/doc/0.0.3/head/Rango/GithubDependencyStrategy.html +118 -0
  275. data/doc/0.0.3/head/Rango/Handler.html +474 -0
  276. data/doc/0.0.3/head/Rango/Helpers.html +1335 -0
  277. data/doc/0.0.3/head/Rango/Hookable.html +202 -0
  278. data/doc/0.0.3/head/Rango/ImportMixin.html +755 -0
  279. data/doc/0.0.3/head/Rango/Logger.html +920 -0
  280. data/doc/0.0.3/head/Rango/Mini.html +117 -0
  281. data/doc/0.0.3/head/Rango/ModelForm.html +42 -0
  282. data/doc/0.0.3/head/Rango/Project.html +516 -0
  283. data/doc/0.0.3/head/Rango/RenderMixin.html +23 -0
  284. data/doc/0.0.3/head/Rango/Request.html +1177 -0
  285. data/doc/0.0.3/head/Rango/Route.html +751 -0
  286. data/doc/0.0.3/head/Rango/Router.html +42 -0
  287. data/doc/0.0.3/head/Rango/Router/Dispatcher.html +311 -0
  288. data/doc/0.0.3/head/Rango/RouterStrategy.html +258 -0
  289. data/doc/0.0.3/head/Rango/Session.html +23 -0
  290. data/doc/0.0.3/head/Rango/Settings.html +23 -0
  291. data/doc/0.0.3/head/Rango/Settings/Erubis.html +23 -0
  292. data/doc/0.0.3/head/Rango/Settings/Framework.html +254 -0
  293. data/doc/0.0.3/head/Rango/Settings/Haml.html +23 -0
  294. data/doc/0.0.3/head/Rango/Settings/Template.html +23 -0
  295. data/doc/0.0.3/head/Rango/SimpleTemplate.html +187 -0
  296. data/doc/0.0.3/head/Rango/StrategyMixin.html +261 -0
  297. data/doc/0.0.3/head/Rango/Tasks.html +219 -0
  298. data/doc/0.0.3/head/Rango/Template.html +95 -0
  299. data/doc/0.0.3/head/Rango/Template/Adapter.html +90 -0
  300. data/doc/0.0.3/head/Rango/Templates.html +116 -0
  301. data/doc/0.0.3/head/Rango/Templates/Adapter.html +128 -0
  302. data/doc/0.0.3/head/Rango/Templates/Template.html +636 -0
  303. data/doc/0.0.3/head/Rango/Templates/TemplateHelpers.html +328 -0
  304. data/doc/0.0.3/head/RangoThor.html +205 -0
  305. data/doc/0.0.3/head/String.html +307 -0
  306. data/doc/0.0.3/head/Time.html +193 -0
  307. data/doc/0.0.3/head/TimeDSL.html +601 -0
  308. data/doc/0.0.3/head/all-methods.html +1908 -0
  309. data/doc/0.0.3/head/all-namespaces.html +114 -0
  310. data/doc/0.0.3/head/app.js +18 -0
  311. data/doc/0.0.3/head/index.html +18 -0
  312. data/doc/0.0.3/head/jquery.js +11 -0
  313. data/doc/0.0.3/head/readme.html +36 -0
  314. data/doc/0.0.3/head/style.css +68 -0
  315. data/doc/0.0.3/head/syntax_highlight.css +21 -0
  316. data/doc/0.0.3/index.html +18 -0
  317. data/doc/0.0.3/jquery.js +11 -0
  318. data/doc/0.0.3/readme.html +36 -0
  319. data/doc/0.0.3/style.css +68 -0
  320. data/doc/0.0.3/syntax_highlight.css +21 -0
  321. data/doc/0.0.4/Array.html +354 -0
  322. data/doc/0.0.4/AttributeMixin.html +697 -0
  323. data/doc/0.0.4/Class.html +102 -0
  324. data/doc/0.0.4/ColoredString.html +476 -0
  325. data/doc/0.0.4/Enumerable.html +256 -0
  326. data/doc/0.0.4/File.html +909 -0
  327. data/doc/0.0.4/Hash.html +1586 -0
  328. data/doc/0.0.4/Kernel.html +956 -0
  329. data/doc/0.0.4/OS.html +740 -0
  330. data/doc/0.0.4/Object.html +466 -0
  331. data/doc/0.0.4/ObjectSpace.html +184 -0
  332. data/doc/0.0.4/Path.html +2499 -0
  333. data/doc/0.0.4/Range.html +190 -0
  334. data/doc/0.0.4/Rango.html +379 -0
  335. data/doc/0.0.4/Rango/ApplicationMixin.html +396 -0
  336. data/doc/0.0.4/Rango/Bundling.html +23 -0
  337. data/doc/0.0.4/Rango/Bundling/RequireStrategy.html +283 -0
  338. data/doc/0.0.4/Rango/Bundling/Strategy.html +703 -0
  339. data/doc/0.0.4/Rango/CLI.html +23 -0
  340. data/doc/0.0.4/Rango/CLI/Generator.html +762 -0
  341. data/doc/0.0.4/Rango/CLI/Templater.html +258 -0
  342. data/doc/0.0.4/Rango/CallableStrategy.html +300 -0
  343. data/doc/0.0.4/Rango/Chainable.html +181 -0
  344. data/doc/0.0.4/Rango/Configurable.html +199 -0
  345. data/doc/0.0.4/Rango/Controller.html +962 -0
  346. data/doc/0.0.4/Rango/ControllerMixin.html +860 -0
  347. data/doc/0.0.4/Rango/ControllerStrategy.html +264 -0
  348. data/doc/0.0.4/Rango/DependencyStrategy.html +116 -0
  349. data/doc/0.0.4/Rango/Dispatcher.html +305 -0
  350. data/doc/0.0.4/Rango/Form.html +162 -0
  351. data/doc/0.0.4/Rango/GemDependencyStrategy.html +210 -0
  352. data/doc/0.0.4/Rango/Generator.html +93 -0
  353. data/doc/0.0.4/Rango/GenericViews.html +128 -0
  354. data/doc/0.0.4/Rango/GitDependencyStrategy.html +224 -0
  355. data/doc/0.0.4/Rango/GithubDependencyStrategy.html +118 -0
  356. data/doc/0.0.4/Rango/Handler.html +474 -0
  357. data/doc/0.0.4/Rango/Helpers.html +1335 -0
  358. data/doc/0.0.4/Rango/Hookable.html +202 -0
  359. data/doc/0.0.4/Rango/ImportMixin.html +755 -0
  360. data/doc/0.0.4/Rango/Logger.html +920 -0
  361. data/doc/0.0.4/Rango/Mini.html +117 -0
  362. data/doc/0.0.4/Rango/ModelForm.html +42 -0
  363. data/doc/0.0.4/Rango/Project.html +516 -0
  364. data/doc/0.0.4/Rango/RenderMixin.html +23 -0
  365. data/doc/0.0.4/Rango/Request.html +1177 -0
  366. data/doc/0.0.4/Rango/Route.html +751 -0
  367. data/doc/0.0.4/Rango/Router.html +42 -0
  368. data/doc/0.0.4/Rango/Router/Dispatcher.html +311 -0
  369. data/doc/0.0.4/Rango/RouterStrategy.html +258 -0
  370. data/doc/0.0.4/Rango/Session.html +23 -0
  371. data/doc/0.0.4/Rango/Settings.html +23 -0
  372. data/doc/0.0.4/Rango/Settings/Erubis.html +23 -0
  373. data/doc/0.0.4/Rango/Settings/Framework.html +254 -0
  374. data/doc/0.0.4/Rango/Settings/Haml.html +23 -0
  375. data/doc/0.0.4/Rango/Settings/Template.html +23 -0
  376. data/doc/0.0.4/Rango/SimpleTemplate.html +187 -0
  377. data/doc/0.0.4/Rango/StrategyMixin.html +261 -0
  378. data/doc/0.0.4/Rango/Tasks.html +219 -0
  379. data/doc/0.0.4/Rango/Template.html +95 -0
  380. data/doc/0.0.4/Rango/Template/Adapter.html +90 -0
  381. data/doc/0.0.4/Rango/Templates.html +116 -0
  382. data/doc/0.0.4/Rango/Templates/Adapter.html +128 -0
  383. data/doc/0.0.4/Rango/Templates/Template.html +636 -0
  384. data/doc/0.0.4/Rango/Templates/TemplateHelpers.html +328 -0
  385. data/doc/0.0.4/RangoThor.html +205 -0
  386. data/doc/0.0.4/String.html +307 -0
  387. data/doc/0.0.4/Time.html +193 -0
  388. data/doc/0.0.4/TimeDSL.html +601 -0
  389. data/doc/0.0.4/all-methods.html +1908 -0
  390. data/doc/0.0.4/all-namespaces.html +114 -0
  391. data/doc/0.0.4/app.js +18 -0
  392. data/doc/0.0.4/head/Array.html +354 -0
  393. data/doc/0.0.4/head/AttributeMixin.html +697 -0
  394. data/doc/0.0.4/head/Class.html +102 -0
  395. data/doc/0.0.4/head/ColoredString.html +476 -0
  396. data/doc/0.0.4/head/Enumerable.html +256 -0
  397. data/doc/0.0.4/head/File.html +909 -0
  398. data/doc/0.0.4/head/Hash.html +1586 -0
  399. data/doc/0.0.4/head/Kernel.html +956 -0
  400. data/doc/0.0.4/head/OS.html +740 -0
  401. data/doc/0.0.4/head/Object.html +466 -0
  402. data/doc/0.0.4/head/ObjectSpace.html +184 -0
  403. data/doc/0.0.4/head/Path.html +2499 -0
  404. data/doc/0.0.4/head/Range.html +190 -0
  405. data/doc/0.0.4/head/Rango.html +379 -0
  406. data/doc/0.0.4/head/Rango/ApplicationMixin.html +396 -0
  407. data/doc/0.0.4/head/Rango/Bundling.html +23 -0
  408. data/doc/0.0.4/head/Rango/Bundling/RequireStrategy.html +283 -0
  409. data/doc/0.0.4/head/Rango/Bundling/Strategy.html +703 -0
  410. data/doc/0.0.4/head/Rango/CLI.html +23 -0
  411. data/doc/0.0.4/head/Rango/CLI/Generator.html +762 -0
  412. data/doc/0.0.4/head/Rango/CLI/Templater.html +258 -0
  413. data/doc/0.0.4/head/Rango/CallableStrategy.html +300 -0
  414. data/doc/0.0.4/head/Rango/Chainable.html +181 -0
  415. data/doc/0.0.4/head/Rango/Configurable.html +199 -0
  416. data/doc/0.0.4/head/Rango/Controller.html +962 -0
  417. data/doc/0.0.4/head/Rango/ControllerMixin.html +860 -0
  418. data/doc/0.0.4/head/Rango/ControllerStrategy.html +264 -0
  419. data/doc/0.0.4/head/Rango/DependencyStrategy.html +116 -0
  420. data/doc/0.0.4/head/Rango/Dispatcher.html +305 -0
  421. data/doc/0.0.4/head/Rango/Form.html +162 -0
  422. data/doc/0.0.4/head/Rango/GemDependencyStrategy.html +210 -0
  423. data/doc/0.0.4/head/Rango/Generator.html +93 -0
  424. data/doc/0.0.4/head/Rango/GenericViews.html +128 -0
  425. data/doc/0.0.4/head/Rango/GitDependencyStrategy.html +224 -0
  426. data/doc/0.0.4/head/Rango/GithubDependencyStrategy.html +118 -0
  427. data/doc/0.0.4/head/Rango/Handler.html +474 -0
  428. data/doc/0.0.4/head/Rango/Helpers.html +1335 -0
  429. data/doc/0.0.4/head/Rango/Hookable.html +202 -0
  430. data/doc/0.0.4/head/Rango/ImportMixin.html +755 -0
  431. data/doc/0.0.4/head/Rango/Logger.html +920 -0
  432. data/doc/0.0.4/head/Rango/Mini.html +117 -0
  433. data/doc/0.0.4/head/Rango/ModelForm.html +42 -0
  434. data/doc/0.0.4/head/Rango/Project.html +516 -0
  435. data/doc/0.0.4/head/Rango/RenderMixin.html +23 -0
  436. data/doc/0.0.4/head/Rango/Request.html +1177 -0
  437. data/doc/0.0.4/head/Rango/Route.html +751 -0
  438. data/doc/0.0.4/head/Rango/Router.html +42 -0
  439. data/doc/0.0.4/head/Rango/Router/Dispatcher.html +311 -0
  440. data/doc/0.0.4/head/Rango/RouterStrategy.html +258 -0
  441. data/doc/0.0.4/head/Rango/Session.html +23 -0
  442. data/doc/0.0.4/head/Rango/Settings.html +23 -0
  443. data/doc/0.0.4/head/Rango/Settings/Erubis.html +23 -0
  444. data/doc/0.0.4/head/Rango/Settings/Framework.html +254 -0
  445. data/doc/0.0.4/head/Rango/Settings/Haml.html +23 -0
  446. data/doc/0.0.4/head/Rango/Settings/Template.html +23 -0
  447. data/doc/0.0.4/head/Rango/SimpleTemplate.html +187 -0
  448. data/doc/0.0.4/head/Rango/StrategyMixin.html +261 -0
  449. data/doc/0.0.4/head/Rango/Tasks.html +219 -0
  450. data/doc/0.0.4/head/Rango/Template.html +95 -0
  451. data/doc/0.0.4/head/Rango/Template/Adapter.html +90 -0
  452. data/doc/0.0.4/head/Rango/Templates.html +116 -0
  453. data/doc/0.0.4/head/Rango/Templates/Adapter.html +128 -0
  454. data/doc/0.0.4/head/Rango/Templates/Template.html +636 -0
  455. data/doc/0.0.4/head/Rango/Templates/TemplateHelpers.html +328 -0
  456. data/doc/0.0.4/head/RangoThor.html +205 -0
  457. data/doc/0.0.4/head/String.html +307 -0
  458. data/doc/0.0.4/head/Time.html +193 -0
  459. data/doc/0.0.4/head/TimeDSL.html +601 -0
  460. data/doc/0.0.4/head/all-methods.html +1908 -0
  461. data/doc/0.0.4/head/all-namespaces.html +114 -0
  462. data/doc/0.0.4/head/app.js +18 -0
  463. data/doc/0.0.4/head/index.html +18 -0
  464. data/doc/0.0.4/head/jquery.js +11 -0
  465. data/doc/0.0.4/head/readme.html +36 -0
  466. data/doc/0.0.4/head/style.css +68 -0
  467. data/doc/0.0.4/head/syntax_highlight.css +21 -0
  468. data/doc/0.0.4/index.html +18 -0
  469. data/doc/0.0.4/jquery.js +11 -0
  470. data/doc/0.0.4/readme.html +36 -0
  471. data/doc/0.0.4/style.css +68 -0
  472. data/doc/0.0.4/syntax_highlight.css +21 -0
  473. data/doc/head/Array.html +247 -7
  474. data/doc/head/AttributeMixin.html +127 -43
  475. data/doc/head/ColoredString.html +1 -1
  476. data/doc/head/Enumerable.html +256 -0
  477. data/doc/head/File.html +909 -0
  478. data/doc/head/Hash.html +1043 -100
  479. data/doc/head/Kernel.html +378 -63
  480. data/doc/head/OS.html +740 -0
  481. data/doc/head/Object.html +363 -37
  482. data/doc/head/ObjectSpace.html +94 -13
  483. data/doc/head/Range.html +87 -6
  484. data/doc/head/Rango.html +21 -39
  485. data/doc/head/Rango/ApplicationMixin.html +4 -4
  486. data/doc/head/Rango/Bundling/RequireStrategy.html +1 -1
  487. data/doc/head/Rango/Bundling/Strategy.html +1 -1
  488. data/doc/head/Rango/CLI.html +23 -0
  489. data/doc/head/Rango/CLI/Generator.html +762 -0
  490. data/doc/head/Rango/CLI/Templater.html +258 -0
  491. data/doc/head/Rango/Chainable.html +14 -14
  492. data/doc/head/Rango/ControllerMixin.html +36 -36
  493. data/doc/head/Rango/Form.html +1 -1
  494. data/doc/head/Rango/Helpers.html +89 -25
  495. data/doc/head/Rango/Hookable.html +3 -3
  496. data/doc/head/Rango/Mini.html +117 -0
  497. data/doc/head/Rango/ModelForm.html +1 -1
  498. data/doc/head/Rango/Router.html +1 -1
  499. data/doc/head/Rango/Settings/Framework.html +64 -8
  500. data/doc/head/Rango/Settings/Template.html +23 -0
  501. data/doc/head/Rango/Tasks.html +10 -42
  502. data/doc/head/Rango/Templates/Adapter.html +1 -1
  503. data/doc/head/Rango/Templates/Template.html +21 -21
  504. data/doc/head/Rango/Templates/TemplateHelpers.html +12 -12
  505. data/doc/head/String.html +152 -8
  506. data/doc/head/Time.html +193 -0
  507. data/doc/head/TimeDSL.html +28 -39
  508. data/doc/head/all-methods.html +236 -340
  509. data/doc/head/all-namespaces.html +21 -21
  510. data/doc/head/readme.html +14 -12
  511. data/examples/README.textile +13 -0
  512. data/{spec/rango/auth/core/spec/merb-auth-core/callbacks_spec_spec.rb → examples/TODO} +0 -0
  513. data/examples/flat/basic.ru +31 -0
  514. data/examples/flat/generic_views.ru +16 -0
  515. data/examples/flat/info.ru +18 -0
  516. data/examples/flat/simple_controller.ru +1 -0
  517. data/examples/flat/templates/about/author.html.haml +1 -0
  518. data/{spec/rango/auth/core/spec/merb-auth-core/customizations_spec_spec.rb → examples/flat/templates/about/contact.html.haml} +0 -0
  519. data/{spec/rango/auth/core/spec/merb-auth-core/errors_spec_spec.rb → examples/flat/templates/base.html.haml} +0 -0
  520. data/examples/flat/templates/info.html.haml +25 -0
  521. data/examples/twitter/Thorfile +12 -0
  522. data/examples/twitter/config.ru +48 -0
  523. data/examples/twitter/development.db +0 -0
  524. data/examples/twitter/factories.rb +19 -0
  525. data/examples/twitter/init.rb +15 -0
  526. data/{spec/rango/auth/core/spec/merb-auth-core/failed_login_spec_spec.rb → examples/twitter/media/hello-static.txt} +0 -0
  527. data/examples/twitter/models.rb +13 -0
  528. data/examples/twitter/run.rb +8 -0
  529. data/examples/twitter/settings.rb +5 -0
  530. data/examples/twitter/settings_local.rb +6 -0
  531. data/examples/twitter/templates/base.html.haml +9 -0
  532. data/examples/twitter/templates/index.html.haml +4 -0
  533. data/examples/twitter/templates/show.html.haml +4 -0
  534. data/examples/twitter/templates/timeline.html.haml +10 -0
  535. data/examples/twitter/views.rb +40 -0
  536. data/features/TODO.txt +5 -0
  537. data/{spec/rango/auth/core/spec/merb-auth-core/merb-auth-core_spec_spec.rb → features/auth/warden.feature} +0 -0
  538. data/features/generators/app.feature +11 -0
  539. data/{spec/rango/auth/core/spec/merb-auth-core/router_helper_spec_spec.rb → features/generators/bigapp.feature} +0 -0
  540. data/{spec/rango/auth/core/spec/merb-auth-core/strategy_spec_spec.rb → features/generators/features.feature} +0 -0
  541. data/{spec/rango/auth/core/spec/spec_helper_spec.rb → features/generators/flat.feature} +0 -0
  542. data/{spec/rango/auth/core/strategy_spec.rb → features/generators/project.feature} +0 -0
  543. data/{spec/rango/auth/core_spec.rb → features/generators/pupu.feature} +0 -0
  544. data/{spec/rango/auth/more/mixins/redirect_back_spec.rb → features/generators/stub.feature} +0 -0
  545. data/features/generators_steps.rb +26 -0
  546. data/{spec/rango/auth/more/mixins/salted_user/ar_salted_user_spec.rb → features/routers/rack-router.feature} +0 -0
  547. data/{spec/rango/auth/more/mixins/salted_user/dm_salted_user_spec.rb → features/routers/rack.feature} +0 -0
  548. data/{spec/rango/auth/more/mixins/salted_user/relaxdb_salted_user_spec.rb → features/routers/urlmap.feature} +0 -0
  549. data/features/shared/given_steps.rb +1 -0
  550. data/features/shared/then_steps.rb +1 -0
  551. data/features/shared/when_steps.rb +1 -0
  552. data/features/support/env.rb +64 -0
  553. data/lib/rango.rb +15 -6
  554. data/lib/rango/boot.rb +36 -25
  555. data/lib/rango/bundling/dependency.rb +3 -7
  556. data/lib/rango/bundling/strategies/copy.rb +2 -2
  557. data/lib/rango/bundling/strategies/gem.rb +2 -2
  558. data/lib/rango/bundling/strategies/git.rb +2 -2
  559. data/lib/rango/bundling/strategies/hg.rb +2 -2
  560. data/lib/rango/bundling/strategy.rb +2 -2
  561. data/lib/rango/cli/generator.rb +119 -12
  562. data/lib/rango/cli/templater.rb +89 -0
  563. data/lib/rango/contrib/pagination.rb +5 -3
  564. data/lib/rango/contrib/pagination/adapters/datamapper.rb +2 -0
  565. data/lib/rango/contrib/pagination/helpers.rb +3 -1
  566. data/lib/rango/contrib/pagination/page.rb +2 -0
  567. data/lib/rango/contrib/pagination/strategies.rb +2 -2
  568. data/lib/rango/contrib/syndication.rb +1 -1
  569. data/lib/rango/controller.rb +151 -0
  570. data/lib/rango/exceptions.rb +90 -241
  571. data/lib/rango/ext.rb +85 -14
  572. data/lib/rango/ext/array.rb +20 -0
  573. data/lib/rango/ext/attribute.rb +14 -2
  574. data/lib/rango/ext/colored_string.rb +1 -1
  575. data/lib/rango/ext/enumerable.rb +30 -0
  576. data/lib/rango/ext/file.rb +84 -0
  577. data/lib/rango/ext/hash.rb +127 -1
  578. data/lib/rango/ext/kernel.rb +41 -24
  579. data/lib/rango/ext/object.rb +56 -0
  580. data/lib/rango/ext/object_space.rb +10 -5
  581. data/lib/rango/ext/os.rb +89 -0
  582. data/lib/rango/ext/platform.rb +27 -0
  583. data/lib/rango/ext/random.rb +11 -8
  584. data/lib/rango/ext/string.rb +17 -3
  585. data/lib/rango/ext/thor.rb +12 -12
  586. data/lib/rango/ext/time.rb +15 -0
  587. data/lib/rango/ext/time_dsl.rb +2 -3
  588. data/lib/rango/ext/unique_array.rb +16 -0
  589. data/lib/rango/forms/form.rb +2 -2
  590. data/lib/rango/generic_views.rb +18 -0
  591. data/lib/rango/helpers.rb +2 -2
  592. data/lib/rango/helpers/assets.rb +2 -2
  593. data/lib/rango/helpers/general.rb +13 -2
  594. data/lib/rango/helpers/merb-helpers.rb +2 -39
  595. data/lib/rango/helpers/merb-helpers/core_ext.rb +1 -1
  596. data/lib/rango/helpers/merb-helpers/core_ext/numeric.rb +2 -2
  597. data/lib/rango/helpers/merb-helpers/date_time_formatting.rb +1 -1
  598. data/lib/rango/helpers/merb-helpers/date_time_helpers.rb +2 -2
  599. data/lib/rango/helpers/merb-helpers/form/builder.rb +1 -1
  600. data/lib/rango/helpers/merb-helpers/form/helpers.rb +1 -1
  601. data/lib/rango/helpers/merb-helpers/form_helpers.rb +4 -4
  602. data/lib/rango/helpers/merb-helpers/tag_helpers.rb +2 -2
  603. data/lib/rango/helpers/merb-helpers/text_helpers.rb +1 -1
  604. data/lib/rango/helpers/syntax.rb +2 -2
  605. data/lib/rango/loggers/fireruby.rb +1 -1
  606. data/lib/rango/loggers/logger.rb +2 -2
  607. data/lib/rango/mixins/application.rb +2 -2
  608. data/lib/rango/mixins/chainable.rb +68 -0
  609. data/lib/rango/mixins/configurable.rb +2 -2
  610. data/lib/rango/mixins/controller.rb +4 -3
  611. data/lib/rango/mixins/hookable.rb +32 -0
  612. data/lib/rango/mixins/import.rb +2 -2
  613. data/lib/rango/mixins/mini.rb +29 -0
  614. data/lib/rango/mixins/strategy.rb +2 -2
  615. data/lib/rango/orm/adapters/datamapper/fields.rb +1 -1
  616. data/lib/rango/orm/adapters/datamapper/setup.rb +1 -1
  617. data/lib/rango/orm/adapters/datamapper/support.rb +3 -3
  618. data/lib/rango/orm/adapters/datamapper/tasks.thor +1 -1
  619. data/lib/rango/orm/adapters/datamapper/types/unicode_string.rb +1 -1
  620. data/{spec/rango/auth/more/mixins/salted_user/sq_salted_user_spec.rb → lib/rango/orm/adapters/sequel/tasks.thor} +0 -0
  621. data/lib/rango/project.rb +2 -2
  622. data/lib/rango/rack/middlewares/basic.rb +46 -0
  623. data/lib/rango/rack/middlewares/email_obfuscator.rb +25 -0
  624. data/lib/rango/rack/middlewares/encoding.rb +2 -2
  625. data/lib/rango/rack/middlewares/static.rb +41 -37
  626. data/lib/rango/rack/request.rb +2 -2
  627. data/lib/rango/rango.rb +34 -21
  628. data/lib/rango/router.rb +17 -0
  629. data/lib/rango/router/adapters/rack_router.rb +8 -0
  630. data/lib/rango/router/adapters/urlmap.rb +10 -0
  631. data/lib/rango/router/adapters/usher.rb +8 -0
  632. data/lib/rango/router/specification.txt +1 -6
  633. data/lib/rango/settings.rb +2 -2
  634. data/lib/rango/settings/erubis.rb +2 -2
  635. data/lib/rango/settings/framework.rb +7 -3
  636. data/lib/rango/settings/haml.rb +3 -3
  637. data/lib/rango/settings/template.rb +17 -0
  638. data/lib/rango/support/cucumber/steps/given_steps.rb +1 -1
  639. data/lib/rango/support/cucumber/steps/then_steps.rb +1 -1
  640. data/lib/rango/support/cucumber/steps/when_steps.rb +1 -1
  641. data/lib/rango/tasks/bundle.thor +1 -1
  642. data/lib/rango/tasks/stats.thor +1 -0
  643. data/lib/rango/templates/adapter.rb +3 -3
  644. data/lib/rango/templates/adapters/erb.rb +23 -5
  645. data/lib/rango/templates/adapters/erubis.rb +41 -36
  646. data/lib/rango/templates/adapters/haml.rb +13 -4
  647. data/lib/rango/templates/template.rb +3 -1
  648. data/rango.gemspec +32 -24
  649. data/rango.gemspec.erb +43 -0
  650. data/spec/factories.rb +3 -2
  651. data/spec/rango/boot_spec.rb +2 -6
  652. data/spec/rango/{auth/more/mixins/salted_user_spec.rb → bundling/strategies/copy_spec.rb} +0 -0
  653. data/spec/rango/{auth/more/spec/merb-auth-more_spec_spec.rb → bundling/strategies/gem_spec.rb} +0 -0
  654. data/spec/rango/{auth/more/spec/mixins/redirect_back_spec_spec.rb → bundling/strategies/git_spec.rb} +0 -0
  655. data/spec/rango/{auth/more/spec/mixins/salted_user_spec_spec.rb → bundling/strategies/hg_spec.rb} +0 -0
  656. data/spec/rango/{auth/more/spec/spec_helper_spec.rb → bundling/strategy_spec.rb} +0 -0
  657. data/spec/rango/{auth/more/strategies/abstract_password_spec.rb → cli/generator_spec.rb} +0 -0
  658. data/spec/rango/{auth/more/strategies/basic/basic_auth_spec.rb → cli/templater_spec.rb} +0 -0
  659. data/spec/rango/{auth/more/strategies/basic/openid_spec.rb → contrib/pagination/adapters/datamapper_spec.rb} +0 -0
  660. data/spec/rango/contrib/pagination/page_spec.rb +2 -2
  661. data/spec/rango/controller_spec.rb +24 -0
  662. data/spec/rango/exceptions_spec.rb +74 -0
  663. data/spec/rango/ext/array_spec.rb +19 -0
  664. data/spec/rango/ext/attribute_spec.rb +37 -0
  665. data/spec/rango/ext/colored_string_spec.rb +9 -0
  666. data/spec/rango/ext/enumerable_spec.rb +52 -0
  667. data/spec/rango/ext/file_spec.rb +78 -0
  668. data/spec/rango/ext/hash_spec.rb +91 -0
  669. data/spec/rango/ext/kernel_spec.rb +9 -0
  670. data/spec/rango/ext/object_space_spec.rb +17 -0
  671. data/spec/rango/ext/object_spec.rb +57 -0
  672. data/spec/rango/ext/os_spec.rb +121 -0
  673. data/spec/rango/ext/random_spec.rb +31 -0
  674. data/spec/rango/ext/string_spec.rb +23 -0
  675. data/spec/rango/ext/thor_spec.rb +26 -0
  676. data/spec/rango/ext/time_dsl_spec.rb +86 -0
  677. data/spec/rango/ext/time_spec.rb +11 -0
  678. data/spec/rango/ext_spec.rb +182 -0
  679. data/spec/rango/{auth/more/strategies/basic/password_form_spec.rb → generic_views_spec.rb} +0 -0
  680. data/spec/rango/helpers/merb-helpers/core_ext_spec.rb +21 -0
  681. data/spec/rango/helpers/merb-helpers/fixture/app/controllers/application.rb +4 -0
  682. data/spec/rango/helpers/merb-helpers/fixture/app/controllers/bound_check_box.rb +4 -0
  683. data/spec/rango/helpers/merb-helpers/fixture/app/controllers/bound_file_field.rb +4 -0
  684. data/spec/rango/helpers/merb-helpers/fixture/app/controllers/bound_hidden_field.rb +4 -0
  685. data/spec/rango/helpers/merb-helpers/fixture/app/controllers/bound_option_tag.rb +4 -0
  686. data/spec/rango/helpers/merb-helpers/fixture/app/controllers/bound_password_field.rb +4 -0
  687. data/spec/rango/helpers/merb-helpers/fixture/app/controllers/bound_radio_button.rb +4 -0
  688. data/spec/rango/helpers/merb-helpers/fixture/app/controllers/bound_radio_group.rb +4 -0
  689. data/spec/rango/helpers/merb-helpers/fixture/app/controllers/bound_select.rb +4 -0
  690. data/spec/rango/helpers/merb-helpers/fixture/app/controllers/bound_text_area.rb +4 -0
  691. data/spec/rango/helpers/merb-helpers/fixture/app/controllers/bound_text_field.rb +4 -0
  692. data/spec/rango/helpers/merb-helpers/fixture/app/controllers/button.rb +4 -0
  693. data/spec/rango/helpers/merb-helpers/fixture/app/controllers/check_box.rb +4 -0
  694. data/spec/rango/helpers/merb-helpers/fixture/app/controllers/custom_builder.rb +4 -0
  695. data/spec/rango/helpers/merb-helpers/fixture/app/controllers/delete_button.rb +4 -0
  696. data/spec/rango/helpers/merb-helpers/fixture/app/controllers/exceptions.rb +25 -0
  697. data/spec/rango/helpers/merb-helpers/fixture/app/controllers/field_set.rb +4 -0
  698. data/spec/rango/helpers/merb-helpers/fixture/app/controllers/fields_for.rb +3 -0
  699. data/spec/rango/helpers/merb-helpers/fixture/app/controllers/file_field.rb +4 -0
  700. data/spec/rango/helpers/merb-helpers/fixture/app/controllers/foo.rb +23 -0
  701. data/spec/rango/helpers/merb-helpers/fixture/app/controllers/form.rb +4 -0
  702. data/spec/rango/helpers/merb-helpers/fixture/app/controllers/form_for.rb +4 -0
  703. data/spec/rango/helpers/merb-helpers/fixture/app/controllers/hacker.rb +4 -0
  704. data/spec/rango/helpers/merb-helpers/fixture/app/controllers/hidden_field.rb +4 -0
  705. data/spec/rango/helpers/merb-helpers/fixture/app/controllers/label.rb +4 -0
  706. data/spec/rango/helpers/merb-helpers/fixture/app/controllers/numeric_ext.rb +4 -0
  707. data/spec/rango/helpers/merb-helpers/fixture/app/controllers/option_tag.rb +4 -0
  708. data/spec/rango/helpers/merb-helpers/fixture/app/controllers/password_field.rb +4 -0
  709. data/spec/rango/helpers/merb-helpers/fixture/app/controllers/radio_button.rb +4 -0
  710. data/spec/rango/helpers/merb-helpers/fixture/app/controllers/radio_group.rb +4 -0
  711. data/spec/rango/helpers/merb-helpers/fixture/app/controllers/relative_date.rb +4 -0
  712. data/spec/rango/helpers/merb-helpers/fixture/app/controllers/relative_date_span.rb +4 -0
  713. data/spec/rango/helpers/merb-helpers/fixture/app/controllers/select.rb +4 -0
  714. data/spec/rango/helpers/merb-helpers/fixture/app/controllers/specs_controller.rb +13 -0
  715. data/spec/rango/helpers/merb-helpers/fixture/app/controllers/submit.rb +4 -0
  716. data/spec/rango/helpers/merb-helpers/fixture/app/controllers/tag_helper.rb +23 -0
  717. data/spec/rango/helpers/merb-helpers/fixture/app/controllers/text_area.rb +4 -0
  718. data/spec/rango/helpers/merb-helpers/fixture/app/controllers/text_field.rb +4 -0
  719. data/spec/rango/helpers/merb-helpers/fixture/app/helpers/global_helpers.rb +7 -0
  720. data/spec/rango/helpers/merb-helpers/fixture/app/models/fake_dm_model.rb +27 -0
  721. data/spec/rango/helpers/merb-helpers/fixture/app/models/first_generic_fake_model.rb +59 -0
  722. data/spec/rango/helpers/merb-helpers/fixture/app/models/hacker_generic_model.rb +7 -0
  723. data/spec/rango/helpers/merb-helpers/fixture/app/models/second_generic_fake_model.rb +20 -0
  724. data/spec/rango/helpers/merb-helpers/fixture/app/models/third_generic_fake_model.rb +5 -0
  725. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/bound_check_box_specs/basic.html.erb +0 -0
  726. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/bound_check_box_specs/basic_unchecked.html.erb +0 -0
  727. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/bound_check_box_specs/checked.html.erb +0 -0
  728. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/bound_check_box_specs/errors.html.erb +0 -0
  729. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/bound_check_box_specs/label.html.erb +0 -0
  730. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/bound_check_box_specs/on_and_off.html.erb +0 -0
  731. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/bound_check_box_specs/raise_value_error.html.erb +0 -0
  732. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/bound_file_field_specs/additional_attributes.html.erb +0 -0
  733. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/bound_file_field_specs/takes_string.html.erb +0 -0
  734. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/bound_file_field_specs/with_label.html.erb +0 -0
  735. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/bound_hidden_field_specs/basic.html.erb +0 -0
  736. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/bound_hidden_field_specs/errors.html.erb +0 -0
  737. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/bound_hidden_field_specs/hidden_error.html.erb +0 -0
  738. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/bound_hidden_field_specs/label.html.erb +0 -0
  739. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/bound_option_tag_specs/grouped.html.erb +0 -0
  740. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/bound_option_tag_specs/nested.html.erb +0 -0
  741. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/bound_option_tag_specs/text_and_value.html.erb +0 -0
  742. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/bound_password_field_specs/attributes.html.erb +0 -0
  743. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/bound_password_field_specs/basic.html.erb +0 -0
  744. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/bound_password_field_specs/label.html.erb +0 -0
  745. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/bound_radio_button_specs/basic.html.erb +0 -0
  746. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/bound_radio_group_specs/basic.html.erb +0 -0
  747. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/bound_radio_group_specs/hashes.html.erb +0 -0
  748. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/bound_radio_group_specs/mixed.html.erb +0 -0
  749. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/bound_radio_group_specs/override_id.html.erb +0 -0
  750. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/bound_select_specs/basic.html.erb +0 -0
  751. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/bound_select_specs/blank.html.erb +0 -0
  752. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/bound_select_specs/label.html.erb +0 -0
  753. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/bound_select_specs/multiple.html.erb +0 -0
  754. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/bound_select_specs/prompt.html.erb +0 -0
  755. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/bound_select_specs/with_options.html.erb +0 -0
  756. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/bound_select_specs/with_options_with_blank.html.erb +0 -0
  757. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/bound_text_area_specs/basic.html.erb +0 -0
  758. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/bound_text_area_specs/label.html.erb +0 -0
  759. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/bound_text_field_specs/basic.html.erb +0 -0
  760. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/button_specs/button_with_label.html.erb +0 -0
  761. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/button_specs/button_with_values.html.erb +0 -0
  762. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/button_specs/disabled_button.html.erb +0 -0
  763. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/check_box_specs/basic.html.erb +0 -0
  764. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/check_box_specs/boolean.html.erb +0 -0
  765. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/check_box_specs/disabled.html.erb +0 -0
  766. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/check_box_specs/label.html.erb +0 -0
  767. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/check_box_specs/on_off_is_boolean.html.erb +0 -0
  768. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/check_box_specs/raise_unless_both_on_and_off.html.erb +0 -0
  769. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/check_box_specs/raises_error_if_not_boolean.html.erb +0 -0
  770. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/check_box_specs/raises_error_if_on_off_and_boolean_false.html.erb +0 -0
  771. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/check_box_specs/simple.html.erb +0 -0
  772. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/check_box_specs/to_string.html.erb +0 -0
  773. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/check_box_specs/unchecked.html.erb +0 -0
  774. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/custom_builder_specs/everything.html.erb +0 -0
  775. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/delete_button_specs/delete_with_explicit_url.html.erb +0 -0
  776. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/delete_button_specs/delete_with_extra_params.html.erb +0 -0
  777. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/delete_button_specs/delete_with_label.html.erb +0 -0
  778. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/delete_button_specs/simple_delete.html.erb +0 -0
  779. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/exeptions/client_error.html.erb +0 -0
  780. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/exeptions/internal_server_error.html.erb +0 -0
  781. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/exeptions/not_acceptable.html.erb +0 -0
  782. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/exeptions/not_found.html.erb +0 -0
  783. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/fields_for_specs/basic.html.erb +0 -0
  784. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/fields_for_specs/midstream.html.erb +0 -0
  785. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/fields_for_specs/nil.html.erb +0 -0
  786. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/fieldset_specs/legend.html.erb +0 -0
  787. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/file_field_specs/disabled.html.erb +0 -0
  788. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/file_field_specs/makes_multipart.html.erb +0 -0
  789. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/file_field_specs/with_label.html.erb +0 -0
  790. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/file_field_specs/with_values.html.erb +0 -0
  791. data/spec/rango/{auth/more_spec.rb → helpers/merb-helpers/fixture/app/views/foo/bar.html.erb} +0 -0
  792. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/form_for_specs/basic.html.erb +0 -0
  793. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/form_specs/create_a_form.html.erb +0 -0
  794. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/form_specs/create_a_multipart_form.html.erb +0 -0
  795. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/form_specs/fake_delete_if_set.html.erb +0 -0
  796. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/form_specs/fake_put_if_set.html.erb +0 -0
  797. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/form_specs/get_if_set.html.erb +0 -0
  798. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/form_specs/post_by_default.html.erb +0 -0
  799. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/form_specs/resourceful_form.html.erb +0 -0
  800. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/hacker/file_field.html.erb +0 -0
  801. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/hacker/hidden_field.html.erb +0 -0
  802. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/hacker/option_tag.html.erb +0 -0
  803. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/hacker/password_field.html.erb +0 -0
  804. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/hacker/radio_button.html.erb +0 -0
  805. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/hacker/radio_group.html.erb +0 -0
  806. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/hacker/text_area.html.erb +0 -0
  807. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/hacker/text_field.html.erb +0 -0
  808. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/hidden_field_specs/basic.html.erb +0 -0
  809. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/hidden_field_specs/disabled.html.erb +0 -0
  810. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/hidden_field_specs/label.html.erb +0 -0
  811. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/label_specs/basic.html.erb +0 -0
  812. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/label_specs/basic_with_attributes.html.erb +0 -0
  813. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/label_specs/basic_with_class.html.erb +0 -0
  814. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/layout/application.html.erb +0 -0
  815. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/numeric_ext_specs/minutes_to_hours.html.erb +0 -0
  816. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/numeric_ext_specs/to_concurrency_default.html.erb +0 -0
  817. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/numeric_ext_specs/two_digits.html.erb +0 -0
  818. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/option_tag_specs/array.html.erb +0 -0
  819. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/option_tag_specs/clean.html.erb +0 -0
  820. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/option_tag_specs/collection.html.erb +0 -0
  821. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/option_tag_specs/multiple_selects.html.erb +0 -0
  822. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/option_tag_specs/no_extra_attributes.html.erb +0 -0
  823. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/option_tag_specs/optgroups.html.erb +0 -0
  824. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/option_tag_specs/selected.html.erb +0 -0
  825. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/option_tag_specs/with_blank.html.erb +0 -0
  826. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/option_tag_specs/with_prompt.html.erb +0 -0
  827. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/password_field_specs/basic.html.erb +0 -0
  828. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/password_field_specs/disabled.html.erb +0 -0
  829. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/radio_button_specs/basic.html.erb +0 -0
  830. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/radio_button_specs/checked.html.erb +0 -0
  831. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/radio_button_specs/disabled.html.erb +0 -0
  832. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/radio_button_specs/label.html.erb +0 -0
  833. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/radio_button_specs/unchecked.html.erb +0 -0
  834. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/radio_group_specs/attributes.html.erb +0 -0
  835. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/radio_group_specs/basic.html.erb +0 -0
  836. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/radio_group_specs/checked.html.erb +0 -0
  837. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/radio_group_specs/hash.html.erb +0 -0
  838. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/radio_group_specs/specific_attributes.html.erb +0 -0
  839. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/relative_date_span_specs/date_span_on_same_day.html.erb +0 -0
  840. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/relative_date_span_specs/date_span_on_same_day_on_different_year.html.erb +0 -0
  841. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/relative_date_specs/relative_date_with_year.html.erb +0 -0
  842. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/relative_date_specs/relative_date_without_year.html.erb +0 -0
  843. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/relative_date_specs/relative_today.html.erb +0 -0
  844. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/relative_date_specs/relative_tomorrow.html.erb +0 -0
  845. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/relative_date_specs/relative_yesterday.html.erb +0 -0
  846. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/select_specs/basic.html.erb +0 -0
  847. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/select_specs/blank.html.erb +0 -0
  848. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/select_specs/multiple.html.erb +0 -0
  849. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/select_specs/selected.html.erb +0 -0
  850. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/submit_specs/disabled_submit.html.erb +0 -0
  851. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/submit_specs/submit_with_label.html.erb +0 -0
  852. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/submit_specs/submit_with_values.html.erb +0 -0
  853. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/tag_helper/nested_tags.html.erb +0 -0
  854. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/tag_helper/tag_with_attributes.html.erb +0 -0
  855. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/tag_helper/tag_with_content.html.erb +0 -0
  856. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/tag_helper/tag_with_content_in_the_block.html.erb +0 -0
  857. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/text_area_specs/basic.html.erb +0 -0
  858. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/text_area_specs/disabled.html.erb +0 -0
  859. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/text_area_specs/label.html.erb +0 -0
  860. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/text_area_specs/nil.html.erb +0 -0
  861. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/text_field_specs/basic.html.erb +0 -0
  862. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/text_field_specs/class.html.erb +0 -0
  863. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/text_field_specs/disabled.html.erb +0 -0
  864. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/text_field_specs/label.html.erb +0 -0
  865. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/app/views/text_field_specs/symbolized_name.html.erb +0 -0
  866. data/spec/rango/helpers/merb-helpers/fixture/config/environments/development.rb +8 -0
  867. data/spec/rango/helpers/merb-helpers/fixture/config/environments/production.rb +7 -0
  868. data/spec/rango/helpers/merb-helpers/fixture/config/environments/test.rb +8 -0
  869. data/spec/rango/helpers/merb-helpers/fixture/config/init.rb +48 -0
  870. data/spec/rango/helpers/merb-helpers/fixture/config/rack.rb +13 -0
  871. data/spec/rango/helpers/merb-helpers/fixture/config/router.rb +40 -0
  872. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/public/images/merb.jpg +0 -0
  873. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/public/merb.fcgi +0 -0
  874. data/{lib/rango/helpers/spec → spec/rango/helpers/merb-helpers}/fixture/public/stylesheets/master.css +0 -0
  875. data/spec/rango/helpers/merb-helpers/merb_helpers_config_spec.rb +84 -0
  876. data/spec/rango/helpers/merb-helpers/merb_helpers_date_time_spec.rb +268 -0
  877. data/spec/rango/helpers/merb-helpers/merb_helpers_form_spec.rb +1370 -0
  878. data/spec/rango/helpers/merb-helpers/merb_helpers_tag_helper_spec.rb +42 -0
  879. data/spec/rango/helpers/merb-helpers/merb_helpers_text_spec.rb +69 -0
  880. data/spec/rango/helpers/merb-helpers/numeric_extlib_spec.rb +137 -0
  881. data/spec/rango/helpers/merb-helpers/ordinalize_spec.rb +53 -0
  882. data/spec/rango/{auth/slice/exceptions_spec.rb → mixins/configurable_spec.rb} +0 -0
  883. data/spec/rango/{auth/slice/merb-auth-slice-password_spec.rb → mixins/mini_spec.rb} +0 -0
  884. data/spec/rango/{auth/slice/sessions_spec.rb → mixins/strategy_spec.rb} +0 -0
  885. data/spec/rango/orm/adapters/{dm → datamapper}/fields_spec.rb +0 -0
  886. data/spec/rango/orm/adapters/{dm → datamapper}/setup_spec.rb +0 -0
  887. data/spec/rango/{auth/slice/spec_helper_spec.rb → orm/adapters/datamapper/support_spec.rb} +0 -0
  888. data/spec/rango/{auth/slice/xsessions_spec.rb → orm/adapters/datamapper/types/unicode_string_spec.rb} +0 -0
  889. data/spec/rango/project_spec.rb +3 -3
  890. data/spec/rango/{bundling/strategies_spec.rb → rack/middlewares/basic_spec.rb} +0 -0
  891. data/spec/rango/{cli/project_spec.rb → rack/middlewares/email_obfuscator_spec.rb} +0 -0
  892. data/spec/rango/{contrib/pagination/adapters/dm_spec.rb → rack/middlewares/encoding_spec.rb} +0 -0
  893. data/spec/rango/rack/request_spec.rb +3 -3
  894. data/spec/rango/{ext/core_ext_spec.rb → router/adapters/basic_spec.rb} +0 -0
  895. data/spec/rango/{ext/path_spec.rb → router/adapters/rack-router_spec.rb} +0 -0
  896. data/spec/rango/{rack → router}/dispatcher_spec.rb +0 -0
  897. data/spec/rango/{generators_spec.rb → settings/erubis_spec.rb} +0 -0
  898. data/spec/rango/{generic_views/static_spec.rb → settings/framework_spec.rb} +0 -0
  899. data/spec/rango/{helpers/merb-helpers/core_ext/numeric_spec.rb → settings/haml_spec.rb} +0 -0
  900. data/spec/rango/{helpers/merb-helpers/date_time_formatting_spec.rb → settings/template_spec.rb} +0 -0
  901. data/spec/rango/settings_spec.rb +3 -3
  902. data/spec/rango/{helpers/merb-helpers/date_time_helpers_spec.rb → support/cucumber/steps/given_steps_spec.rb} +0 -0
  903. data/spec/rango/{helpers/merb-helpers/form/builder_spec.rb → support/cucumber/steps/then_steps_spec.rb} +0 -0
  904. data/spec/rango/{helpers/merb-helpers/form/helpers_spec.rb → support/cucumber/steps/when_steps_spec.rb} +0 -0
  905. data/spec/rango/templates/adapters/erubis_spec.rb +117 -0
  906. data/spec/rango/templates/adapters/template_helpers.rb +38 -0
  907. data/spec/rango_spec.rb +4 -3
  908. data/spec/spec_helper.rb +27 -5
  909. data/spec/{rango/helpers/merb-helpers/form_helpers_spec.rb → stubs/acqs/dir/lib.rb} +0 -0
  910. data/spec/{rango/helpers/merb-helpers/tag_helpers_spec.rb → stubs/acqs/dir/lib_spec.rb} +0 -0
  911. data/spec/{rango/helpers/merb-helpers/text_helpers_spec.rb → stubs/acqs/lib.rb} +0 -0
  912. data/spec/{rango/helpers/merb-helpers/time_dsl_spec.rb → stubs/acqs/tasks.thor} +0 -0
  913. data/spec/stubs/flat.rb +1 -0
  914. data/spec/stubs/templates/basic.html.erb +6 -0
  915. data/spec/stubs/templates/capture.html.erb +11 -0
  916. data/spec/stubs/templates/context.html.erb +6 -0
  917. data/spec/stubs/templates/exception.html.erb +1 -0
  918. data/stubs/app/content/init.rb.rbt +2 -2
  919. data/stubs/app/content/models.rb.rbt +2 -2
  920. data/stubs/app/content/views.rb.rbt +3 -3
  921. data/stubs/app/metadata.yml +4 -0
  922. data/stubs/app/preprocess.rb +7 -6
  923. data/stubs/bigapp/metadata.yml +4 -0
  924. data/stubs/bigapp/preprocess.rb +2 -2
  925. data/stubs/features/content/env.rb +1 -1
  926. data/stubs/features/metadata.yml +4 -0
  927. data/stubs/flat/content/flat.ru.rbt +5 -4
  928. data/stubs/flat/metadata.yml +4 -0
  929. data/stubs/flat/preprocess.rb +2 -2
  930. data/stubs/project/content/Thorfile +1 -1
  931. data/stubs/project/content/config.ru +4 -5
  932. data/stubs/project/content/init.rb +11 -1
  933. data/stubs/project/content/settings.rb.rbt +1 -1
  934. data/stubs/project/content/settings_local.rb.rbt +1 -1
  935. data/stubs/project/metadata.yml +4 -0
  936. data/stubs/project/postprocess.rb +8 -0
  937. data/{spec/rango/mvc/strategies_spec.rb → stubs/pupu/content/CHANGELOG} +0 -0
  938. data/stubs/pupu/content/LICENSE.rbt +20 -0
  939. data/stubs/pupu/content/README.textile.rbt +7 -0
  940. data/stubs/pupu/content/TODO +5 -0
  941. data/stubs/pupu/content/Thorfile.rbt +21 -0
  942. data/stubs/pupu/content/config.rb.rbt +14 -0
  943. data/{spec/rango/rack/middlewares/emails_spec.rb → stubs/pupu/content/initializers/%name%.css} +0 -0
  944. data/stubs/pupu/content/initializers/%name%.js +3 -0
  945. data/{spec/rango/router/route_spec.rb → stubs/pupu/content/javascripts/%name%.js} +0 -0
  946. data/{spec/rango/router/router_spec.rb → stubs/pupu/content/stylesheets/%name%.css} +0 -0
  947. data/stubs/pupu/metadata.yml +4 -0
  948. data/stubs/pupu/preprocess.rb +4 -2
  949. data/stubs/stub/content/metadata.yml +3 -1
  950. data/stubs/stub/content/postprocess.rb +2 -4
  951. data/stubs/stub/content/preprocess.rb +2 -2
  952. data/stubs/stub/metadata.yml +4 -0
  953. data/tasks/benchmark.thor +15 -0
  954. data/tasks/hooks.thor +2 -2
  955. data/tasks/package.thor +20 -7
  956. data/tasks/release.thor +14 -12
  957. data/tasks/repair.thor +14 -25
  958. data/tasks/spec.thor +2 -1
  959. data/tasks/stats.thor +19 -3
  960. data/tasks/yardoc.thor +1 -1
  961. data/templates.txt +39 -0
  962. metadata +1059 -362
  963. data/lib/rango/cli/project.rb +0 -87
  964. data/lib/rango/cli/simple_template.rb +0 -47
  965. data/lib/rango/ext/class.rb +0 -99
  966. data/lib/rango/ext/core_ext.rb +0 -52
  967. data/lib/rango/ext/path.rb +0 -222
  968. data/lib/rango/ext/try.rb +0 -30
  969. data/lib/rango/generic_views/static.rb +0 -7
  970. data/lib/rango/helpers/merb-helpers/time_dsl.rb +0 -61
  971. data/lib/rango/helpers/spec/core_ext_spec.rb +0 -21
  972. data/lib/rango/helpers/spec/fixture/app/controllers/application.rb +0 -4
  973. data/lib/rango/helpers/spec/fixture/app/controllers/bound_check_box.rb +0 -2
  974. data/lib/rango/helpers/spec/fixture/app/controllers/bound_file_field.rb +0 -2
  975. data/lib/rango/helpers/spec/fixture/app/controllers/bound_hidden_field.rb +0 -2
  976. data/lib/rango/helpers/spec/fixture/app/controllers/bound_option_tag.rb +0 -2
  977. data/lib/rango/helpers/spec/fixture/app/controllers/bound_password_field.rb +0 -2
  978. data/lib/rango/helpers/spec/fixture/app/controllers/bound_radio_button.rb +0 -2
  979. data/lib/rango/helpers/spec/fixture/app/controllers/bound_radio_group.rb +0 -2
  980. data/lib/rango/helpers/spec/fixture/app/controllers/bound_select.rb +0 -2
  981. data/lib/rango/helpers/spec/fixture/app/controllers/bound_text_area.rb +0 -2
  982. data/lib/rango/helpers/spec/fixture/app/controllers/bound_text_field.rb +0 -2
  983. data/lib/rango/helpers/spec/fixture/app/controllers/button.rb +0 -2
  984. data/lib/rango/helpers/spec/fixture/app/controllers/check_box.rb +0 -2
  985. data/lib/rango/helpers/spec/fixture/app/controllers/custom_builder.rb +0 -2
  986. data/lib/rango/helpers/spec/fixture/app/controllers/delete_button.rb +0 -2
  987. data/lib/rango/helpers/spec/fixture/app/controllers/exceptions.rb +0 -25
  988. data/lib/rango/helpers/spec/fixture/app/controllers/field_set.rb +0 -2
  989. data/lib/rango/helpers/spec/fixture/app/controllers/fields_for.rb +0 -3
  990. data/lib/rango/helpers/spec/fixture/app/controllers/file_field.rb +0 -2
  991. data/lib/rango/helpers/spec/fixture/app/controllers/foo.rb +0 -23
  992. data/lib/rango/helpers/spec/fixture/app/controllers/form.rb +0 -2
  993. data/lib/rango/helpers/spec/fixture/app/controllers/form_for.rb +0 -2
  994. data/lib/rango/helpers/spec/fixture/app/controllers/hacker.rb +0 -2
  995. data/lib/rango/helpers/spec/fixture/app/controllers/hidden_field.rb +0 -2
  996. data/lib/rango/helpers/spec/fixture/app/controllers/label.rb +0 -3
  997. data/lib/rango/helpers/spec/fixture/app/controllers/numeric_ext.rb +0 -3
  998. data/lib/rango/helpers/spec/fixture/app/controllers/option_tag.rb +0 -2
  999. data/lib/rango/helpers/spec/fixture/app/controllers/password_field.rb +0 -2
  1000. data/lib/rango/helpers/spec/fixture/app/controllers/radio_button.rb +0 -2
  1001. data/lib/rango/helpers/spec/fixture/app/controllers/radio_group.rb +0 -2
  1002. data/lib/rango/helpers/spec/fixture/app/controllers/relative_date.rb +0 -2
  1003. data/lib/rango/helpers/spec/fixture/app/controllers/relative_date_span.rb +0 -2
  1004. data/lib/rango/helpers/spec/fixture/app/controllers/select.rb +0 -2
  1005. data/lib/rango/helpers/spec/fixture/app/controllers/specs_controller.rb +0 -11
  1006. data/lib/rango/helpers/spec/fixture/app/controllers/submit.rb +0 -2
  1007. data/lib/rango/helpers/spec/fixture/app/controllers/tag_helper.rb +0 -21
  1008. data/lib/rango/helpers/spec/fixture/app/controllers/text_area.rb +0 -2
  1009. data/lib/rango/helpers/spec/fixture/app/controllers/text_field.rb +0 -3
  1010. data/lib/rango/helpers/spec/fixture/app/helpers/global_helpers.rb +0 -8
  1011. data/lib/rango/helpers/spec/fixture/app/models/fake_dm_model.rb +0 -25
  1012. data/lib/rango/helpers/spec/fixture/app/models/first_generic_fake_model.rb +0 -57
  1013. data/lib/rango/helpers/spec/fixture/app/models/hacker_generic_model.rb +0 -5
  1014. data/lib/rango/helpers/spec/fixture/app/models/second_generic_fake_model.rb +0 -18
  1015. data/lib/rango/helpers/spec/fixture/app/models/third_generic_fake_model.rb +0 -3
  1016. data/lib/rango/helpers/spec/fixture/config/environments/development.rb +0 -6
  1017. data/lib/rango/helpers/spec/fixture/config/environments/production.rb +0 -5
  1018. data/lib/rango/helpers/spec/fixture/config/environments/test.rb +0 -6
  1019. data/lib/rango/helpers/spec/fixture/config/init.rb +0 -46
  1020. data/lib/rango/helpers/spec/fixture/config/rack.rb +0 -11
  1021. data/lib/rango/helpers/spec/fixture/config/router.rb +0 -38
  1022. data/lib/rango/helpers/spec/merb_helpers_config_spec.rb +0 -84
  1023. data/lib/rango/helpers/spec/merb_helpers_date_time_spec.rb +0 -270
  1024. data/lib/rango/helpers/spec/merb_helpers_form_spec.rb +0 -1371
  1025. data/lib/rango/helpers/spec/merb_helpers_tag_helper_spec.rb +0 -42
  1026. data/lib/rango/helpers/spec/merb_helpers_text_spec.rb +0 -69
  1027. data/lib/rango/helpers/spec/numeric_extlib_spec.rb +0 -137
  1028. data/lib/rango/helpers/spec/ordinalize_spec.rb +0 -53
  1029. data/lib/rango/helpers/spec/spec_helper.rb +0 -160
  1030. data/lib/rango/helpers/spec/time_dsl_spec.rb +0 -45
  1031. data/lib/rango/mvc/controller.rb +0 -139
  1032. data/lib/rango/mvc/strategies.rb +0 -6
  1033. data/lib/rango/rack/dispatcher.rb +0 -61
  1034. data/lib/rango/rack/middlewares/emails.rb +0 -7
  1035. data/lib/rango/router/adapters/basic.rb +0 -21
  1036. data/lib/rango/router/adapters/rack-router.rb +0 -18
  1037. data/lib/rango/router/dispatcher.rb +0 -29
  1038. data/spec/rango/mvc/controller_spec.rb +0 -24
  1039. data/spec/rango/router/strategies_spec.rb +0 -0
  1040. data/spec/rango/spec/cucumber_spec.rb +0 -0
  1041. data/spec/rango/spec/rspec_spec.rb +0 -0
  1042. data/stubs/project/preprocess.rb +0 -5
  1043. data/stubs/stub/preprocess.rb +0 -5
  1044. data/templates/errors/404.html.erb +0 -52
  1045. data/templates/errors/406.html.erb +0 -1
  1046. data/templates/errors/500.html.erb +0 -48
@@ -0,0 +1,184 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
+ <html>
4
+ <head>
5
+ <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
6
+ <link rel="stylesheet" href="style.css" type="text/css" charset="utf-8" />
7
+ <link rel="stylesheet" href="syntax_highlight.css" type="text/css" charset="utf-8" />
8
+
9
+ <script src="jquery.js" type="text/javascript" charset="utf-8"></script>
10
+ <script src="app.js" type="text/javascript" charset="utf-8"></script>
11
+ <title>Module: ObjectSpace</title>
12
+ </head>
13
+ <body>
14
+ <div id="content">
15
+ <div class="section module ObjectSpace">
16
+ <h1 class="title">Module: ObjectSpace</h1>
17
+ <div class="section docstring">
18
+ <p>
19
+ encoding: utf-8
20
+ </p>
21
+
22
+ </div><div class="section constants">
23
+
24
+ </div> <div class="section visibilitygroup public">
25
+ <h1>Public Visibility</h1>
26
+ <div class="section methodsummary class public">
27
+ <h1>Public Class Method Summary</h1>
28
+ <table class="summary">
29
+
30
+ <tr>
31
+ <th class="signature">
32
+ <span class='name'><a href="#classes-class_method" title="classes">classes</a></span><span class='args'></span>
33
+ <span class='block'></span>
34
+
35
+ </th>
36
+ <td class="docstring">
37
+ <p>
38
+ Returns all classes existing in runtime.
39
+ </p>
40
+
41
+
42
+ <p class='returns'>
43
+ Returns:
44
+ <span class='return_types'>
45
+ <tt><a href="Array.html" title="Array">Array</a>&lt;Class></tt>
46
+ </span>
47
+ </p>
48
+
49
+ </td>
50
+ </tr>
51
+
52
+ </table>
53
+ </div>
54
+ <div class="section methoddetails class public">
55
+ <h1>Public Class Method Details</h1>
56
+
57
+ <div class="method">
58
+ <div class="method_header">
59
+ <h3>classes</h3>
60
+ </div><div id="classes-class_method" class="section method">
61
+ <div class="details_title">
62
+ <div class='section methodsignature'>
63
+ <tt class='def'>
64
+ <span class='visibility'>public</span>
65
+ <span class='return_types'><tt><a href="Array.html" title="Array">Array</a>&lt;Class></tt></span>
66
+ <span class='name'>classes</span><span class='args'></span>
67
+ <span class='block'></span>
68
+ </tt>
69
+ </div>
70
+
71
+ </div><div class="section docstring">
72
+ <p>
73
+ Returns all classes existing in runtime
74
+ </p>
75
+
76
+ </div><div class="section tags">
77
+ <h2>Meta Tags</h2>
78
+ <div class="param">
79
+ <h3>Parameters:</h3>
80
+ <dl>
81
+
82
+ </dl>
83
+ </div><div class="return">
84
+ <h3>Returns:</h3>
85
+ <dl>
86
+
87
+ <dt>
88
+
89
+ <span class='type'>[<tt><a href="Array.html" title="Array">Array</a>&lt;Class></tt>]</span>
90
+
91
+
92
+ <span class='name'></span>
93
+
94
+
95
+ </dt>
96
+ <dd>
97
+ <span class='desc'><p>
98
+ List of all classes loaded into runtime
99
+ </p>
100
+ </span>
101
+ </dd>
102
+
103
+ </dl>
104
+ </div>
105
+ <div class="author">
106
+ <h3>Author:</h3>
107
+ <dl>
108
+
109
+ <dt>
110
+
111
+
112
+
113
+ </dt>
114
+ <dd>
115
+ <span class='desc'><p>
116
+ Botanicus
117
+ </p>
118
+ </span>
119
+ </dd>
120
+
121
+ </dl>
122
+ </div>
123
+ <div class="since">
124
+ <h3>Since:</h3>
125
+ <dl>
126
+
127
+ <dt>
128
+
129
+
130
+
131
+ </dt>
132
+ <dd>
133
+ <span class='desc'><p>
134
+ 0.0.3
135
+ </p>
136
+ </span>
137
+ </dd>
138
+
139
+ </dl>
140
+ </div>
141
+
142
+ </div><div class="section source">
143
+ <span>[<a class="source_link" href="#">View source</a>]</span>
144
+ <div class="source_code">
145
+ <table>
146
+ <tr>
147
+ <td>
148
+ <pre class="lines">
149
+
150
+
151
+ 9
152
+ 10
153
+ 11
154
+ 12
155
+ 13
156
+ 14
157
+ 15</pre>
158
+ </td>
159
+ <td>
160
+ <pre class="code"><span class="info file"># File 'lib/rango/ext/object_space.rb', line 9</span>
161
+
162
+ <span class='def def kw'>def</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='classes identifier id'>classes</span>
163
+ <span class='Array constant id'>Array</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='dot token'>.</span><span class='tap identifier id'>tap</span> <span class='do do kw'>do</span> <span class='bitor op'>|</span><span class='objects identifier id'>objects</span><span class='bitor op'>|</span>
164
+ <span class='self self kw'>self</span><span class='dot token'>.</span><span class='each_object identifier id'>each_object</span><span class='lparen token'>(</span><span class='Class constant id'>Class</span><span class='rparen token'>)</span> <span class='do do kw'>do</span> <span class='bitor op'>|</span><span class='object identifier id'>object</span><span class='bitor op'>|</span>
165
+ <span class='objects identifier id'>objects</span> <span class='lshft op'>&lt;&lt;</span> <span class='object identifier id'>object</span>
166
+ <span class='end end kw'>end</span>
167
+ <span class='end end kw'>end</span>
168
+ <span class='end end kw'>end</span>
169
+ </pre>
170
+ </td>
171
+ </tr>
172
+ </table>
173
+ </div>
174
+ </div>
175
+ </div>
176
+ </div>
177
+
178
+ </div>
179
+ </div>
180
+
181
+ </div>
182
+ </div>
183
+ </body>
184
+ </html>
@@ -0,0 +1,2499 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
+ <html>
4
+ <head>
5
+ <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
6
+ <link rel="stylesheet" href="style.css" type="text/css" charset="utf-8" />
7
+ <link rel="stylesheet" href="syntax_highlight.css" type="text/css" charset="utf-8" />
8
+
9
+ <script src="jquery.js" type="text/javascript" charset="utf-8"></script>
10
+ <script src="app.js" type="text/javascript" charset="utf-8"></script>
11
+ <title>Class: Path</title>
12
+ </head>
13
+ <body>
14
+ <div id="content">
15
+ <div class="section class Path">
16
+ <h1 class="title">Class: Path</h1>
17
+ <div class="section inheritance">
18
+ <ul>
19
+ <li><a href="Object.html" title="Object">Object</a></li><ul><li>Path</li>
20
+ </ul></ul>
21
+ </div><div class="section docstring">
22
+ <p>
23
+ TODO: copy it&#8217;s spec file
24
+ </p>
25
+
26
+ </div><div class="section attributes">
27
+ <h1>Attributes</h1>
28
+
29
+
30
+ <div class="instance">
31
+ <h2>Instance Attributes</h2>
32
+ <table>
33
+
34
+ <tr>
35
+ <th class="name">absolute</td>
36
+ <td class="readwrite">
37
+ [<span id='absolute-instance_method'>R</span>W]
38
+ </td>
39
+ <td class="visibility">
40
+ public
41
+ </td>
42
+ <td class="docstring">
43
+
44
+
45
+ </td>
46
+ </tr>
47
+
48
+ </table>
49
+ </div>
50
+
51
+ </div><div class="section constants">
52
+
53
+ </div><div class="section constructor">
54
+ <h1>Constructor Summary</h1>
55
+ <div id="initialize-instance_method" class="section method">
56
+ <div class="details_title">
57
+ <div class='section methodsignature'>
58
+ <tt class='def'>
59
+ <span class='visibility'>public</span>
60
+ <span class='return_types'></span>
61
+ <span class='name'>initialize</span><span class='args'>(path)</span>
62
+ <span class='block'></span>
63
+ </tt>
64
+ </div>
65
+
66
+ </div><div class="section docstring">
67
+ <p>
68
+ Path.new(&#8220;public/uploads&#8221;)
69
+ Path.new(&#8220;#{Rango::.root}/public/uploads&#8221;)
70
+ </p>
71
+
72
+ </div><div class="section tags">
73
+ <h2>Meta Tags</h2>
74
+ <div class="param">
75
+ <h3>Parameters:</h3>
76
+ <dl>
77
+
78
+ </dl>
79
+ </div><div class="raise">
80
+ <h3>Raises:</h3>
81
+ <dl>
82
+
83
+ <dt>
84
+
85
+ <span class='type'>[<tt>ArgumentError</tt>]</span>
86
+
87
+
88
+
89
+ </dt>
90
+ <dd>
91
+ <span class='desc'></span>
92
+ </dd>
93
+
94
+ </dl>
95
+ </div>
96
+ <div class="since">
97
+ <h3>Since:</h3>
98
+ <dl>
99
+
100
+ <dt>
101
+
102
+
103
+
104
+ </dt>
105
+ <dd>
106
+ <span class='desc'><p>
107
+ 0.0.1
108
+ </p>
109
+ </span>
110
+ </dd>
111
+
112
+ </dl>
113
+ </div>
114
+
115
+ </div><div class="section source">
116
+ <span>[<a class="source_link" href="#">View source</a>]</span>
117
+ <div class="source_code">
118
+ <table>
119
+ <tr>
120
+ <td>
121
+ <pre class="lines">
122
+
123
+
124
+ 12
125
+ 13
126
+ 14
127
+ 15
128
+ 16
129
+ 17
130
+ 18
131
+ 19
132
+ 20
133
+ 21
134
+ 22
135
+ 23
136
+ 24
137
+ 25</pre>
138
+ </td>
139
+ <td>
140
+ <pre class="code"><span class="info file"># File 'lib/rango/ext/path.rb', line 12</span>
141
+
142
+ <span class='def def kw'>def</span> <span class='initialize identifier id'>initialize</span><span class='lparen token'>(</span><span class='path identifier id'>path</span><span class='rparen token'>)</span>
143
+ <span class='path identifier id'>path</span> <span class='assign token'>=</span> <span class='path identifier id'>path</span><span class='dot token'>.</span><span class='absolute identifier id'>absolute</span> <span class='if if_mod kw'>if</span> <span class='path identifier id'>path</span><span class='dot token'>.</span><span class='is_a? fid id'>is_a?</span><span class='lparen token'>(</span><span class='Path constant id'>Path</span><span class='rparen token'>)</span> <span class='comment val'># TODO: spec it</span>
144
+ <span class='raise identifier id'>raise</span> <span class='ArgumentError constant id'>ArgumentError</span> <span class='unless unless_mod kw'>unless</span> <span class='path identifier id'>path</span><span class='dot token'>.</span><span class='is_a? fid id'>is_a?</span><span class='lparen token'>(</span><span class='String constant id'>String</span><span class='rparen token'>)</span> <span class='comment val'># TODO: spec it</span>
145
+ <span class='comment val'># no trailing /</span>
146
+ <span class='path identifier id'>path</span><span class='dot token'>.</span><span class='sub! fid id'>sub!</span><span class='lparen token'>(</span><span class='regexp val'>%r{/$}</span><span class='comma token'>,</span> <span class='string val'>&quot;&quot;</span><span class='rparen token'>)</span>
147
+ <span class='if if kw'>if</span> <span class='path identifier id'>path</span><span class='dot token'>.</span><span class='match identifier id'>match</span><span class='lparen token'>(</span><span class='regexp val'>%r{^/}</span><span class='rparen token'>)</span>
148
+ <span class='@absolute ivar id'>@absolute</span> <span class='assign token'>=</span> <span class='File constant id'>File</span><span class='dot token'>.</span><span class='expand_path identifier id'>expand_path</span><span class='lparen token'>(</span><span class='path identifier id'>path</span><span class='rparen token'>)</span>
149
+ <span class='else else kw'>else</span>
150
+ <span class='@absolute ivar id'>@absolute</span> <span class='assign token'>=</span> <span class='File constant id'>File</span><span class='dot token'>.</span><span class='expand_path identifier id'>expand_path</span><span class='lparen token'>(</span><span class='File constant id'>File</span><span class='dot token'>.</span><span class='join identifier id'>join</span><span class='lparen token'>(</span><span class='Dir constant id'>Dir</span><span class='dot token'>.</span><span class='pwd identifier id'>pwd</span><span class='comma token'>,</span> <span class='path identifier id'>path</span><span class='rparen token'>)</span><span class='rparen token'>)</span>
151
+ <span class='end end kw'>end</span>
152
+ <span class='unless unless kw'>unless</span> <span class='File constant id'>File</span><span class='dot token'>.</span><span class='exist? fid id'>exist?</span><span class='lparen token'>(</span><span class='@absolute ivar id'>@absolute</span><span class='rparen token'>)</span>
153
+ <span class='raise identifier id'>raise</span> <span class='dstring node'>&quot;NotExists: #{@absolute}&quot;</span>
154
+ <span class='end end kw'>end</span>
155
+ <span class='end end kw'>end</span>
156
+ </pre>
157
+ </td>
158
+ </tr>
159
+ </table>
160
+ </div>
161
+ </div>
162
+ </div>
163
+ </div> <div class="section visibilitygroup public">
164
+ <h1>Public Visibility</h1>
165
+ <div class="section methodsummary class public">
166
+ <h1>Public Class Method Summary</h1>
167
+ <table class="summary">
168
+
169
+ <tr>
170
+ <th class="signature">
171
+ <span class='name'><a href="#basename_without_extension-class_method" title="basename_without_extension">basename_without_extension</a></span><span class='args'>(file)</span>
172
+ <span class='block'></span>
173
+
174
+ </th>
175
+ <td class="docstring">
176
+
177
+
178
+ </td>
179
+ </tr>
180
+
181
+ <tr>
182
+ <th class="signature">
183
+ <span class='name'><a href="#change_extension-class_method" title="change_extension">change_extension</a></span><span class='args'>(file, extension)</span>
184
+ <span class='block'></span>
185
+
186
+ </th>
187
+ <td class="docstring">
188
+
189
+
190
+ </td>
191
+ </tr>
192
+
193
+ <tr>
194
+ <th class="signature">
195
+ <span class='name'><a href="#without_extension-class_method" title="without_extension">without_extension</a></span><span class='args'>(file)</span>
196
+ <span class='block'></span>
197
+
198
+ </th>
199
+ <td class="docstring">
200
+
201
+
202
+ </td>
203
+ </tr>
204
+
205
+ </table>
206
+ </div>
207
+ <div class="section methodsummary instance public">
208
+ <h1>Public Instance Method Summary</h1>
209
+ <table class="summary">
210
+
211
+ <tr>
212
+ <th class="signature">
213
+ <span class='name'><a href="#%2B-instance_method" title="#+">#+</a></span><span class='args'>(segment)</span>
214
+ <span class='block'></span>
215
+
216
+ </th>
217
+ <td class="docstring">
218
+
219
+
220
+ </td>
221
+ </tr>
222
+
223
+ <tr>
224
+ <th class="signature">
225
+ <span class='name'><a href="#%3D%3D-instance_method" title="#==">#==</a></span><span class='args'>(another)</span>
226
+ <span class='block'></span>
227
+
228
+ <span class='alias'>#eql?</span>
229
+
230
+ </th>
231
+ <td class="docstring">
232
+
233
+
234
+ </td>
235
+ </tr>
236
+
237
+ <tr>
238
+ <th class="signature">
239
+ <span class='name'><a href="#append-instance_method" title="#append">#append</a></span><span class='args'>(&amp;block)</span>
240
+ <span class='block'></span>
241
+
242
+ </th>
243
+ <td class="docstring">
244
+
245
+
246
+ </td>
247
+ </tr>
248
+
249
+ <tr>
250
+ <th class="signature">
251
+ <span class='name'><a href="#basename-instance_method" title="#basename">#basename</a></span><span class='args'></span>
252
+ <span class='block'></span>
253
+
254
+ </th>
255
+ <td class="docstring">
256
+
257
+
258
+ </td>
259
+ </tr>
260
+
261
+ <tr>
262
+ <th class="signature">
263
+ <span class='name'><a href="#empty%3F-instance_method" title="#empty?">#empty?</a></span><span class='args'></span>
264
+ <span class='block'></span>
265
+
266
+ </th>
267
+ <td class="docstring">
268
+
269
+
270
+ </td>
271
+ </tr>
272
+
273
+ <tr>
274
+ <th class="signature">
275
+ <span class='name'><a href="#entries-instance_method" title="#entries">#entries</a></span><span class='args'></span>
276
+ <span class='block'></span>
277
+
278
+ </th>
279
+ <td class="docstring">
280
+
281
+
282
+ </td>
283
+ </tr>
284
+
285
+ <tr>
286
+ <th class="signature">
287
+ <span class='name'><a href="#exist%3F-instance_method" title="#exist?">#exist?</a></span><span class='args'></span>
288
+ <span class='block'></span>
289
+
290
+ </th>
291
+ <td class="docstring">
292
+
293
+
294
+ </td>
295
+ </tr>
296
+
297
+ <tr>
298
+ <th class="signature">
299
+ <span class='name'><a href="#extension-instance_method" title="#extension">#extension</a></span><span class='args'></span>
300
+ <span class='block'></span>
301
+
302
+ </th>
303
+ <td class="docstring">
304
+
305
+
306
+ </td>
307
+ </tr>
308
+
309
+ <tr>
310
+ <th class="signature">
311
+ <span class='name'><a href="#hidden%3F-instance_method" title="#hidden?">#hidden?</a></span><span class='args'></span>
312
+ <span class='block'></span>
313
+
314
+ </th>
315
+ <td class="docstring">
316
+
317
+
318
+ </td>
319
+ </tr>
320
+
321
+ <tr>
322
+ <th class="signature">
323
+ <span class='name'><a href="#inspect-instance_method" title="#inspect">#inspect</a></span><span class='args'></span>
324
+ <span class='block'></span>
325
+
326
+ </th>
327
+ <td class="docstring">
328
+
329
+
330
+ </td>
331
+ </tr>
332
+
333
+ <tr>
334
+ <th class="signature">
335
+ <span class='name'><a href="#load-instance_method" title="#load">#load</a></span><span class='args'></span>
336
+ <span class='block'></span>
337
+
338
+ </th>
339
+ <td class="docstring">
340
+
341
+
342
+ </td>
343
+ </tr>
344
+
345
+ <tr>
346
+ <th class="signature">
347
+ <span class='name'><a href="#make_executable-instance_method" title="#make_executable">#make_executable</a></span><span class='args'></span>
348
+ <span class='block'></span>
349
+
350
+ </th>
351
+ <td class="docstring">
352
+ <p>
353
+ alias_method :childrens, :children.
354
+ </p>
355
+
356
+
357
+ </td>
358
+ </tr>
359
+
360
+ <tr>
361
+ <th class="signature">
362
+ <span class='name'><a href="#make_unexecutable-instance_method" title="#make_unexecutable">#make_unexecutable</a></span><span class='args'></span>
363
+ <span class='block'></span>
364
+
365
+ </th>
366
+ <td class="docstring">
367
+
368
+
369
+ </td>
370
+ </tr>
371
+
372
+ <tr>
373
+ <th class="signature">
374
+ <span class='name'><a href="#md5-instance_method" title="#md5">#md5</a></span><span class='args'>(file)</span>
375
+ <span class='block'></span>
376
+
377
+ </th>
378
+ <td class="docstring">
379
+
380
+
381
+ </td>
382
+ </tr>
383
+
384
+ <tr>
385
+ <th class="signature">
386
+ <span class='name'><a href="#normalize-instance_method" title="#normalize">#normalize</a></span><span class='args'></span>
387
+ <span class='block'></span>
388
+
389
+ </th>
390
+ <td class="docstring">
391
+ <p>
392
+ dir/foo/.
393
+ </p>
394
+
395
+
396
+ </td>
397
+ </tr>
398
+
399
+ <tr>
400
+ <th class="signature">
401
+ <span class='name'><a href="#read-instance_method" title="#read">#read</a></span><span class='args'>(&amp;block)</span>
402
+ <span class='block'></span>
403
+
404
+ </th>
405
+ <td class="docstring">
406
+
407
+
408
+ </td>
409
+ </tr>
410
+
411
+ <tr>
412
+ <th class="signature">
413
+ <span class='name'><a href="#relative-instance_method" title="#relative">#relative</a></span><span class='args'></span>
414
+ <span class='block'></span>
415
+
416
+ </th>
417
+ <td class="docstring">
418
+
419
+
420
+ </td>
421
+ </tr>
422
+
423
+ <tr>
424
+ <th class="signature">
425
+ <span class='name'><a href="#rewrite-instance_method" title="#rewrite">#rewrite</a></span><span class='args'>(&amp;block)</span>
426
+ <span class='block'></span>
427
+
428
+ </th>
429
+ <td class="docstring">
430
+
431
+
432
+ </td>
433
+ </tr>
434
+
435
+ <tr>
436
+ <th class="signature">
437
+ <span class='name'><a href="#run-instance_method" title="#run">#run</a></span><span class='args'>(command)</span>
438
+ <span class='block'></span>
439
+
440
+ </th>
441
+ <td class="docstring">
442
+
443
+
444
+ </td>
445
+ </tr>
446
+
447
+ <tr>
448
+ <th class="signature">
449
+ <span class='name'><a href="#to_a-instance_method" title="#to_a">#to_a</a></span><span class='args'></span>
450
+ <span class='block'></span>
451
+
452
+ </th>
453
+ <td class="docstring">
454
+
455
+
456
+ </td>
457
+ </tr>
458
+
459
+ <tr>
460
+ <th class="signature">
461
+ <span class='name'><a href="#url-instance_method" title="#url">#url</a></span><span class='args'></span>
462
+ <span class='block'></span>
463
+
464
+ </th>
465
+ <td class="docstring">
466
+
467
+
468
+ </td>
469
+ </tr>
470
+
471
+ <tr>
472
+ <th class="signature">
473
+ <span class='name'><a href="#without_extension-instance_method" title="#without_extension">#without_extension</a></span><span class='args'></span>
474
+ <span class='block'></span>
475
+
476
+ </th>
477
+ <td class="docstring">
478
+
479
+
480
+ </td>
481
+ </tr>
482
+
483
+ <tr>
484
+ <th class="signature">
485
+ <span class='name'><a href="#without_extension%21-instance_method" title="#without_extension!">#without_extension!</a></span><span class='args'></span>
486
+ <span class='block'></span>
487
+
488
+ </th>
489
+ <td class="docstring">
490
+
491
+
492
+ </td>
493
+ </tr>
494
+
495
+ <tr>
496
+ <th class="signature">
497
+ <span class='name'><a href="#write-instance_method" title="#write">#write</a></span><span class='args'>(&amp;block)</span>
498
+ <span class='block'></span>
499
+
500
+ </th>
501
+ <td class="docstring">
502
+ <p>
503
+ # Use instead of File.
504
+ </p>
505
+
506
+
507
+ </td>
508
+ </tr>
509
+
510
+ </table><div class="inherited">
511
+
512
+ <div>
513
+ <h1>Public Instance Methods Inherited from <a href="Object.html" title="Object">Object</a></h1>
514
+ <p><span class='name'><a href="Object.html#try-instance_method" title="try">try</a></span></p>
515
+ </div>
516
+
517
+ </div>
518
+ <div class="clear"></div>
519
+ </div>
520
+ <div class="section methoddetails class public">
521
+ <h1>Public Class Method Details</h1>
522
+
523
+ <div class="method">
524
+ <div class="method_header">
525
+ <h3>basename_without_extension</h3>
526
+ </div><div id="basename_without_extension-class_method" class="section method">
527
+ <div class="details_title">
528
+ <div class='section methodsignature'>
529
+ <tt class='def'>
530
+ <span class='visibility'>public</span>
531
+ <span class='return_types'></span>
532
+ <span class='name'>basename_without_extension</span><span class='args'>(file)</span>
533
+ <span class='block'></span>
534
+ </tt>
535
+ </div>
536
+
537
+ </div><div class="section tags">
538
+ <h2>Meta Tags</h2>
539
+ <div class="param">
540
+ <h3>Parameters:</h3>
541
+ <dl>
542
+
543
+ </dl>
544
+ </div><div class="since">
545
+ <h3>Since:</h3>
546
+ <dl>
547
+
548
+ <dt>
549
+
550
+
551
+
552
+ </dt>
553
+ <dd>
554
+ <span class='desc'><p>
555
+ 0.0.1
556
+ </p>
557
+ </span>
558
+ </dd>
559
+
560
+ </dl>
561
+ </div>
562
+
563
+ </div><div class="section source">
564
+ <span>[<a class="source_link" href="#">View source</a>]</span>
565
+ <div class="source_code">
566
+ <table>
567
+ <tr>
568
+ <td>
569
+ <pre class="lines">
570
+
571
+
572
+ 214
573
+ 215
574
+ 216</pre>
575
+ </td>
576
+ <td>
577
+ <pre class="code"><span class="info file"># File 'lib/rango/ext/path.rb', line 214</span>
578
+
579
+ <span class='def def kw'>def</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='basename_without_extension identifier id'>basename_without_extension</span><span class='lparen token'>(</span><span class='file identifier id'>file</span><span class='rparen token'>)</span>
580
+ <span class='return return kw'>return</span> <span class='File constant id'>File</span><span class='dot token'>.</span><span class='basename identifier id'>basename</span><span class='lparen token'>(</span><span class='file identifier id'>file</span><span class='dot token'>.</span><span class='sub identifier id'>sub</span><span class='lparen token'>(</span><span class='regexp val'>/\.\w+$/</span><span class='comma token'>,</span> <span class='string val'>''</span><span class='rparen token'>)</span><span class='rparen token'>)</span>
581
+ <span class='end end kw'>end</span>
582
+ </pre>
583
+ </td>
584
+ </tr>
585
+ </table>
586
+ </div>
587
+ </div>
588
+ </div>
589
+ </div>
590
+
591
+ <div class="method">
592
+ <div class="method_header">
593
+ <h3>change_extension</h3>
594
+ </div><div id="change_extension-class_method" class="section method">
595
+ <div class="details_title">
596
+ <div class='section methodsignature'>
597
+ <tt class='def'>
598
+ <span class='visibility'>public</span>
599
+ <span class='return_types'></span>
600
+ <span class='name'>change_extension</span><span class='args'>(file, extension)</span>
601
+ <span class='block'></span>
602
+ </tt>
603
+ </div>
604
+
605
+ </div><div class="section tags">
606
+ <h2>Meta Tags</h2>
607
+ <div class="param">
608
+ <h3>Parameters:</h3>
609
+ <dl>
610
+
611
+ </dl>
612
+ </div><div class="since">
613
+ <h3>Since:</h3>
614
+ <dl>
615
+
616
+ <dt>
617
+
618
+
619
+
620
+ </dt>
621
+ <dd>
622
+ <span class='desc'><p>
623
+ 0.0.1
624
+ </p>
625
+ </span>
626
+ </dd>
627
+
628
+ </dl>
629
+ </div>
630
+
631
+ </div><div class="section source">
632
+ <span>[<a class="source_link" href="#">View source</a>]</span>
633
+ <div class="source_code">
634
+ <table>
635
+ <tr>
636
+ <td>
637
+ <pre class="lines">
638
+
639
+
640
+ 219
641
+ 220
642
+ 221</pre>
643
+ </td>
644
+ <td>
645
+ <pre class="code"><span class="info file"># File 'lib/rango/ext/path.rb', line 219</span>
646
+
647
+ <span class='def def kw'>def</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='change_extension identifier id'>change_extension</span><span class='lparen token'>(</span><span class='file identifier id'>file</span><span class='comma token'>,</span> <span class='extension identifier id'>extension</span><span class='rparen token'>)</span>
648
+ <span class='return return kw'>return</span> <span class='file identifier id'>file</span><span class='dot token'>.</span><span class='sub identifier id'>sub</span><span class='lparen token'>(</span><span class='regexp val'>/\.\w+$/</span><span class='comma token'>,</span> <span class='dstring node'>&quot;.#{extension}&quot;</span><span class='rparen token'>)</span>
649
+ <span class='end end kw'>end</span>
650
+ </pre>
651
+ </td>
652
+ </tr>
653
+ </table>
654
+ </div>
655
+ </div>
656
+ </div>
657
+ </div>
658
+
659
+ <div class="method">
660
+ <div class="method_header">
661
+ <h3>without_extension</h3>
662
+ </div><div id="without_extension-class_method" class="section method">
663
+ <div class="details_title">
664
+ <div class='section methodsignature'>
665
+ <tt class='def'>
666
+ <span class='visibility'>public</span>
667
+ <span class='return_types'></span>
668
+ <span class='name'>without_extension</span><span class='args'>(file)</span>
669
+ <span class='block'></span>
670
+ </tt>
671
+ </div>
672
+
673
+ </div><div class="section tags">
674
+ <h2>Meta Tags</h2>
675
+ <div class="param">
676
+ <h3>Parameters:</h3>
677
+ <dl>
678
+
679
+ </dl>
680
+ </div><div class="since">
681
+ <h3>Since:</h3>
682
+ <dl>
683
+
684
+ <dt>
685
+
686
+
687
+
688
+ </dt>
689
+ <dd>
690
+ <span class='desc'><p>
691
+ 0.0.1
692
+ </p>
693
+ </span>
694
+ </dd>
695
+
696
+ </dl>
697
+ </div>
698
+
699
+ </div><div class="section source">
700
+ <span>[<a class="source_link" href="#">View source</a>]</span>
701
+ <div class="source_code">
702
+ <table>
703
+ <tr>
704
+ <td>
705
+ <pre class="lines">
706
+
707
+
708
+ 209
709
+ 210
710
+ 211</pre>
711
+ </td>
712
+ <td>
713
+ <pre class="code"><span class="info file"># File 'lib/rango/ext/path.rb', line 209</span>
714
+
715
+ <span class='def def kw'>def</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='without_extension identifier id'>without_extension</span><span class='lparen token'>(</span><span class='file identifier id'>file</span><span class='rparen token'>)</span>
716
+ <span class='return return kw'>return</span> <span class='file identifier id'>file</span><span class='dot token'>.</span><span class='sub identifier id'>sub</span><span class='lparen token'>(</span><span class='regexp val'>/\.\w+$/</span><span class='comma token'>,</span> <span class='string val'>''</span><span class='rparen token'>)</span>
717
+ <span class='end end kw'>end</span>
718
+ </pre>
719
+ </td>
720
+ </tr>
721
+ </table>
722
+ </div>
723
+ </div>
724
+ </div>
725
+ </div>
726
+
727
+ </div><div class="section methoddetails instance public">
728
+ <h1>Public Instance Method Details</h1>
729
+
730
+ <div class="method">
731
+ <div class="method_header">
732
+ <h3>+</h3>
733
+ </div><div id="%2B-instance_method" class="section method">
734
+ <div class="details_title">
735
+ <div class='section methodsignature'>
736
+ <tt class='def'>
737
+ <span class='visibility'>public</span>
738
+ <span class='return_types'></span>
739
+ <span class='name'>+</span><span class='args'>(segment)</span>
740
+ <span class='block'></span>
741
+ </tt>
742
+ </div>
743
+
744
+ </div><div class="section tags">
745
+ <h2>Meta Tags</h2>
746
+ <div class="param">
747
+ <h3>Parameters:</h3>
748
+ <dl>
749
+
750
+ </dl>
751
+ </div><div class="raise">
752
+ <h3>Raises:</h3>
753
+ <dl>
754
+
755
+ <dt>
756
+
757
+ <span class='type'>[<tt>ArgumentError</tt>]</span>
758
+
759
+
760
+
761
+ </dt>
762
+ <dd>
763
+ <span class='desc'></span>
764
+ </dd>
765
+
766
+ </dl>
767
+ </div>
768
+ <div class="since">
769
+ <h3>Since:</h3>
770
+ <dl>
771
+
772
+ <dt>
773
+
774
+
775
+
776
+ </dt>
777
+ <dd>
778
+ <span class='desc'><p>
779
+ 0.0.1
780
+ </p>
781
+ </span>
782
+ </dd>
783
+
784
+ </dl>
785
+ </div>
786
+
787
+ </div><div class="section source">
788
+ <span>[<a class="source_link" href="#">View source</a>]</span>
789
+ <div class="source_code">
790
+ <table>
791
+ <tr>
792
+ <td>
793
+ <pre class="lines">
794
+
795
+
796
+ 56
797
+ 57
798
+ 58
799
+ 59
800
+ 60</pre>
801
+ </td>
802
+ <td>
803
+ <pre class="code"><span class="info file"># File 'lib/rango/ext/path.rb', line 56</span>
804
+
805
+ <span class='def def kw'>def</span> <span class='plus op'>+</span><span class='lparen token'>(</span><span class='segment identifier id'>segment</span><span class='rparen token'>)</span>
806
+ <span class='raise identifier id'>raise</span> <span class='ArgumentError constant id'>ArgumentError</span> <span class='unless unless_mod kw'>unless</span> <span class='segment identifier id'>segment</span><span class='dot token'>.</span><span class='is_a? fid id'>is_a?</span><span class='lparen token'>(</span><span class='String constant id'>String</span><span class='rparen token'>)</span>
807
+ <span class='raise identifier id'>raise</span> <span class='ArgumentError constant id'>ArgumentError</span> <span class='if if_mod kw'>if</span> <span class='segment identifier id'>segment</span><span class='dot token'>.</span><span class='match identifier id'>match</span><span class='lparen token'>(</span><span class='regexp val'>%r{^/}</span><span class='rparen token'>)</span>
808
+ <span class='Path constant id'>Path</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='dstring node'>&quot;#@absolute/#{segment}&quot;</span><span class='rparen token'>)</span>
809
+ <span class='end end kw'>end</span>
810
+ </pre>
811
+ </td>
812
+ </tr>
813
+ </table>
814
+ </div>
815
+ </div>
816
+ </div>
817
+ </div>
818
+
819
+ <div class="method">
820
+ <div class="method_header">
821
+ <h3>==</h3>
822
+ </div><div id="%3D%3D-instance_method" class="section method">
823
+ <div class="details_title">
824
+ <div class='section methodsignature'>
825
+ <tt class='def'>
826
+ <span class='visibility'>public</span>
827
+ <span class='return_types'></span>
828
+ <span class='name'>==</span><span class='args'>(another)</span>
829
+ <span class='block'></span>
830
+ </tt>
831
+ </div>
832
+ <p class="aliases">
833
+ <span class="aka">Also known as:</span>
834
+
835
+ <tt id="eql%3F-instance_method">eql?</tt>
836
+
837
+ </p>
838
+ </div><div class="section tags">
839
+ <h2>Meta Tags</h2>
840
+ <div class="param">
841
+ <h3>Parameters:</h3>
842
+ <dl>
843
+
844
+ </dl>
845
+ </div><div class="raise">
846
+ <h3>Raises:</h3>
847
+ <dl>
848
+
849
+ <dt>
850
+
851
+ <span class='type'>[<tt>TypeError</tt>]</span>
852
+
853
+
854
+
855
+ </dt>
856
+ <dd>
857
+ <span class='desc'></span>
858
+ </dd>
859
+
860
+ </dl>
861
+ </div>
862
+ <div class="since">
863
+ <h3>Since:</h3>
864
+ <dl>
865
+
866
+ <dt>
867
+
868
+
869
+
870
+ </dt>
871
+ <dd>
872
+ <span class='desc'><p>
873
+ 0.0.1
874
+ </p>
875
+ </span>
876
+ </dd>
877
+
878
+ </dl>
879
+ </div>
880
+
881
+ </div><div class="section source">
882
+ <span>[<a class="source_link" href="#">View source</a>]</span>
883
+ <div class="source_code">
884
+ <table>
885
+ <tr>
886
+ <td>
887
+ <pre class="lines">
888
+
889
+
890
+ 42
891
+ 43
892
+ 44
893
+ 45</pre>
894
+ </td>
895
+ <td>
896
+ <pre class="code"><span class="info file"># File 'lib/rango/ext/path.rb', line 42</span>
897
+
898
+ <span class='def def kw'>def</span> <span class='eq op'>==</span><span class='lparen token'>(</span><span class='another identifier id'>another</span><span class='rparen token'>)</span>
899
+ <span class='raise identifier id'>raise</span> <span class='TypeError constant id'>TypeError</span> <span class='unless unless_mod kw'>unless</span> <span class='another identifier id'>another</span><span class='dot token'>.</span><span class='is_a? fid id'>is_a?</span><span class='lparen token'>(</span><span class='self self kw'>self</span><span class='dot token'>.</span><span class='class identifier id'>class</span><span class='rparen token'>)</span>
900
+ <span class='@absolute ivar id'>@absolute</span> <span class='eq op'>==</span> <span class='another identifier id'>another</span><span class='dot token'>.</span><span class='absolute identifier id'>absolute</span>
901
+ <span class='end end kw'>end</span>
902
+ </pre>
903
+ </td>
904
+ </tr>
905
+ </table>
906
+ </div>
907
+ </div>
908
+ </div>
909
+ </div>
910
+
911
+ <div class="method">
912
+ <div class="method_header">
913
+ <h3>append</h3>
914
+ </div><div id="append-instance_method" class="section method">
915
+ <div class="details_title">
916
+ <div class='section methodsignature'>
917
+ <tt class='def'>
918
+ <span class='visibility'>public</span>
919
+ <span class='return_types'></span>
920
+ <span class='name'>append</span><span class='args'>(&amp;block)</span>
921
+ <span class='block'></span>
922
+ </tt>
923
+ </div>
924
+
925
+ </div><div class="section tags">
926
+ <h2>Meta Tags</h2>
927
+ <div class="param">
928
+ <h3>Parameters:</h3>
929
+ <dl>
930
+
931
+ </dl>
932
+ </div><div class="since">
933
+ <h3>Since:</h3>
934
+ <dl>
935
+
936
+ <dt>
937
+
938
+
939
+
940
+ </dt>
941
+ <dd>
942
+ <span class='desc'><p>
943
+ 0.0.1
944
+ </p>
945
+ </span>
946
+ </dd>
947
+
948
+ </dl>
949
+ </div>
950
+
951
+ </div><div class="section source">
952
+ <span>[<a class="source_link" href="#">View source</a>]</span>
953
+ <div class="source_code">
954
+ <table>
955
+ <tr>
956
+ <td>
957
+ <pre class="lines">
958
+
959
+
960
+ 117
961
+ 118
962
+ 119</pre>
963
+ </td>
964
+ <td>
965
+ <pre class="code"><span class="info file"># File 'lib/rango/ext/path.rb', line 117</span>
966
+
967
+ <span class='def def kw'>def</span> <span class='append identifier id'>append</span><span class='lparen token'>(</span><span class='bitand op'>&amp;</span><span class='block identifier id'>block</span><span class='rparen token'>)</span>
968
+ <span class='File constant id'>File</span><span class='dot token'>.</span><span class='open identifier id'>open</span><span class='lparen token'>(</span><span class='file identifier id'>file</span><span class='comma token'>,</span> <span class='string val'>&quot;a&quot;</span><span class='comma token'>,</span> <span class='bitand op'>&amp;</span><span class='block identifier id'>block</span><span class='rparen token'>)</span>
969
+ <span class='end end kw'>end</span>
970
+ </pre>
971
+ </td>
972
+ </tr>
973
+ </table>
974
+ </div>
975
+ </div>
976
+ </div>
977
+ </div>
978
+
979
+ <div class="method">
980
+ <div class="method_header">
981
+ <h3>basename</h3>
982
+ </div><div id="basename-instance_method" class="section method">
983
+ <div class="details_title">
984
+ <div class='section methodsignature'>
985
+ <tt class='def'>
986
+ <span class='visibility'>public</span>
987
+ <span class='return_types'></span>
988
+ <span class='name'>basename</span><span class='args'></span>
989
+ <span class='block'></span>
990
+ </tt>
991
+ </div>
992
+
993
+ </div><div class="section tags">
994
+ <h2>Meta Tags</h2>
995
+ <div class="param">
996
+ <h3>Parameters:</h3>
997
+ <dl>
998
+
999
+ </dl>
1000
+ </div><div class="since">
1001
+ <h3>Since:</h3>
1002
+ <dl>
1003
+
1004
+ <dt>
1005
+
1006
+
1007
+
1008
+ </dt>
1009
+ <dd>
1010
+ <span class='desc'><p>
1011
+ 0.0.1
1012
+ </p>
1013
+ </span>
1014
+ </dd>
1015
+
1016
+ </dl>
1017
+ </div>
1018
+
1019
+ </div><div class="section source">
1020
+ <span>[<a class="source_link" href="#">View source</a>]</span>
1021
+ <div class="source_code">
1022
+ <table>
1023
+ <tr>
1024
+ <td>
1025
+ <pre class="lines">
1026
+
1027
+
1028
+ 78
1029
+ 79
1030
+ 80</pre>
1031
+ </td>
1032
+ <td>
1033
+ <pre class="code"><span class="info file"># File 'lib/rango/ext/path.rb', line 78</span>
1034
+
1035
+ <span class='def def kw'>def</span> <span class='basename identifier id'>basename</span>
1036
+ <span class='File constant id'>File</span><span class='dot token'>.</span><span class='basename identifier id'>basename</span><span class='lparen token'>(</span><span class='@absolute ivar id'>@absolute</span><span class='rparen token'>)</span>
1037
+ <span class='end end kw'>end</span>
1038
+ </pre>
1039
+ </td>
1040
+ </tr>
1041
+ </table>
1042
+ </div>
1043
+ </div>
1044
+ </div>
1045
+ </div>
1046
+
1047
+ <div class="method">
1048
+ <div class="method_header">
1049
+ <h3>empty?</h3>
1050
+ </div><div id="empty%3F-instance_method" class="section method">
1051
+ <div class="details_title">
1052
+ <div class='section methodsignature'>
1053
+ <tt class='def'>
1054
+ <span class='visibility'>public</span>
1055
+ <span class='return_types'></span>
1056
+ <span class='name'>empty?</span><span class='args'></span>
1057
+ <span class='block'></span>
1058
+ </tt>
1059
+ </div>
1060
+
1061
+ </div><div class="section tags">
1062
+ <h2>Meta Tags</h2>
1063
+ <div class="param">
1064
+ <h3>Parameters:</h3>
1065
+ <dl>
1066
+
1067
+ </dl>
1068
+ </div><div class="since">
1069
+ <h3>Since:</h3>
1070
+ <dl>
1071
+
1072
+ <dt>
1073
+
1074
+
1075
+
1076
+ </dt>
1077
+ <dd>
1078
+ <span class='desc'><p>
1079
+ 0.0.1
1080
+ </p>
1081
+ </span>
1082
+ </dd>
1083
+
1084
+ </dl>
1085
+ </div>
1086
+
1087
+ </div><div class="section source">
1088
+ <span>[<a class="source_link" href="#">View source</a>]</span>
1089
+ <div class="source_code">
1090
+ <table>
1091
+ <tr>
1092
+ <td>
1093
+ <pre class="lines">
1094
+
1095
+
1096
+ 198
1097
+ 199
1098
+ 200</pre>
1099
+ </td>
1100
+ <td>
1101
+ <pre class="code"><span class="info file"># File 'lib/rango/ext/path.rb', line 198</span>
1102
+
1103
+ <span class='def def kw'>def</span> <span class='empty? fid id'>empty?</span>
1104
+ <span class='lparen token'>(</span><span class='self self kw'>self</span><span class='dot token'>.</span><span class='directory? fid id'>directory?</span> <span class='and and kw'>and</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='children identifier id'>children</span><span class='dot token'>.</span><span class='empty? fid id'>empty?</span><span class='rparen token'>)</span> <span class='orop op'>||</span> <span class='File constant id'>File</span><span class='dot token'>.</span><span class='zero? fid id'>zero?</span><span class='lparen token'>(</span><span class='rparen token'>)</span>
1105
+ <span class='end end kw'>end</span>
1106
+ </pre>
1107
+ </td>
1108
+ </tr>
1109
+ </table>
1110
+ </div>
1111
+ </div>
1112
+ </div>
1113
+ </div>
1114
+
1115
+ <div class="method">
1116
+ <div class="method_header">
1117
+ <h3>entries</h3>
1118
+ </div><div id="entries-instance_method" class="section method">
1119
+ <div class="details_title">
1120
+ <div class='section methodsignature'>
1121
+ <tt class='def'>
1122
+ <span class='visibility'>public</span>
1123
+ <span class='return_types'></span>
1124
+ <span class='name'>entries</span><span class='args'></span>
1125
+ <span class='block'></span>
1126
+ </tt>
1127
+ </div>
1128
+
1129
+ </div><div class="section tags">
1130
+ <h2>Meta Tags</h2>
1131
+ <div class="param">
1132
+ <h3>Parameters:</h3>
1133
+ <dl>
1134
+
1135
+ </dl>
1136
+ </div><div class="since">
1137
+ <h3>Since:</h3>
1138
+ <dl>
1139
+
1140
+ <dt>
1141
+
1142
+
1143
+
1144
+ </dt>
1145
+ <dd>
1146
+ <span class='desc'><p>
1147
+ 0.0.1
1148
+ </p>
1149
+ </span>
1150
+ </dd>
1151
+
1152
+ </dl>
1153
+ </div>
1154
+
1155
+ </div><div class="section source">
1156
+ <span>[<a class="source_link" href="#">View source</a>]</span>
1157
+ <div class="source_code">
1158
+ <table>
1159
+ <tr>
1160
+ <td>
1161
+ <pre class="lines">
1162
+
1163
+
1164
+ 66
1165
+ 67
1166
+ 68
1167
+ 69
1168
+ 70</pre>
1169
+ </td>
1170
+ <td>
1171
+ <pre class="code"><span class="info file"># File 'lib/rango/ext/path.rb', line 66</span>
1172
+
1173
+ <span class='def def kw'>def</span> <span class='entries identifier id'>entries</span>
1174
+ <span class='Dir constant id'>Dir</span><span class='lbrack token'>[</span><span class='string val'>&quot;#@absolute/*&quot;</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='map identifier id'>map</span> <span class='do do kw'>do</span> <span class='bitor op'>|</span><span class='path identifier id'>path</span><span class='bitor op'>|</span>
1175
+ <span class='self self kw'>self</span><span class='dot token'>.</span><span class='class identifier id'>class</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='path identifier id'>path</span><span class='rparen token'>)</span>
1176
+ <span class='end end kw'>end</span>
1177
+ <span class='end end kw'>end</span>
1178
+ </pre>
1179
+ </td>
1180
+ </tr>
1181
+ </table>
1182
+ </div>
1183
+ </div>
1184
+ </div>
1185
+ </div>
1186
+
1187
+ <div class="method">
1188
+ <div class="method_header">
1189
+ <h3>exist?</h3>
1190
+ </div><div id="exist%3F-instance_method" class="section method">
1191
+ <div class="details_title">
1192
+ <div class='section methodsignature'>
1193
+ <tt class='def'>
1194
+ <span class='visibility'>public</span>
1195
+ <span class='return_types'></span>
1196
+ <span class='name'>exist?</span><span class='args'></span>
1197
+ <span class='block'></span>
1198
+ </tt>
1199
+ </div>
1200
+
1201
+ </div><div class="section tags">
1202
+ <h2>Meta Tags</h2>
1203
+ <div class="param">
1204
+ <h3>Parameters:</h3>
1205
+ <dl>
1206
+
1207
+ </dl>
1208
+ </div><div class="since">
1209
+ <h3>Since:</h3>
1210
+ <dl>
1211
+
1212
+ <dt>
1213
+
1214
+
1215
+
1216
+ </dt>
1217
+ <dd>
1218
+ <span class='desc'><p>
1219
+ 0.0.1
1220
+ </p>
1221
+ </span>
1222
+ </dd>
1223
+
1224
+ </dl>
1225
+ </div>
1226
+
1227
+ </div><div class="section source">
1228
+ <span>[<a class="source_link" href="#">View source</a>]</span>
1229
+ <div class="source_code">
1230
+ <table>
1231
+ <tr>
1232
+ <td>
1233
+ <pre class="lines">
1234
+
1235
+
1236
+ 177
1237
+ 178
1238
+ 179</pre>
1239
+ </td>
1240
+ <td>
1241
+ <pre class="code"><span class="info file"># File 'lib/rango/ext/path.rb', line 177</span>
1242
+
1243
+ <span class='def def kw'>def</span> <span class='exist? fid id'>exist?</span>
1244
+ <span class='File constant id'>File</span><span class='dot token'>.</span><span class='exist? fid id'>exist?</span><span class='lparen token'>(</span><span class='@absolute ivar id'>@absolute</span><span class='rparen token'>)</span>
1245
+ <span class='end end kw'>end</span>
1246
+ </pre>
1247
+ </td>
1248
+ </tr>
1249
+ </table>
1250
+ </div>
1251
+ </div>
1252
+ </div>
1253
+ </div>
1254
+
1255
+ <div class="method">
1256
+ <div class="method_header">
1257
+ <h3>extension</h3>
1258
+ </div><div id="extension-instance_method" class="section method">
1259
+ <div class="details_title">
1260
+ <div class='section methodsignature'>
1261
+ <tt class='def'>
1262
+ <span class='visibility'>public</span>
1263
+ <span class='return_types'></span>
1264
+ <span class='name'>extension</span><span class='args'></span>
1265
+ <span class='block'></span>
1266
+ </tt>
1267
+ </div>
1268
+
1269
+ </div><div class="section tags">
1270
+ <h2>Meta Tags</h2>
1271
+ <div class="param">
1272
+ <h3>Parameters:</h3>
1273
+ <dl>
1274
+
1275
+ </dl>
1276
+ </div><div class="since">
1277
+ <h3>Since:</h3>
1278
+ <dl>
1279
+
1280
+ <dt>
1281
+
1282
+
1283
+
1284
+ </dt>
1285
+ <dd>
1286
+ <span class='desc'><p>
1287
+ 0.0.1
1288
+ </p>
1289
+ </span>
1290
+ </dd>
1291
+
1292
+ </dl>
1293
+ </div>
1294
+
1295
+ </div><div class="section source">
1296
+ <span>[<a class="source_link" href="#">View source</a>]</span>
1297
+ <div class="source_code">
1298
+ <table>
1299
+ <tr>
1300
+ <td>
1301
+ <pre class="lines">
1302
+
1303
+
1304
+ 129
1305
+ 130
1306
+ 131
1307
+ 132
1308
+ 133
1309
+ 134
1310
+ 135</pre>
1311
+ </td>
1312
+ <td>
1313
+ <pre class="code"><span class="info file"># File 'lib/rango/ext/path.rb', line 129</span>
1314
+
1315
+ <span class='def def kw'>def</span> <span class='extension= identifier id'>extension=</span><span class='lparen token'>(</span><span class='extension identifier id'>extension</span><span class='rparen token'>)</span>
1316
+ <span class='if if kw'>if</span> <span class='@path ivar id'>@path</span><span class='dot token'>.</span><span class='last identifier id'>last</span><span class='dot token'>.</span><span class='match identifier id'>match</span><span class='lparen token'>(</span><span class='regexp val'>/\./</span><span class='rparen token'>)</span>
1317
+ <span class='return return kw'>return</span> <span class='Path constant id'>Path</span><span class='lbrack token'>[</span><span class='self self kw'>self</span><span class='lbrack token'>[</span><span class='integer val'>0</span><span class='dot2 op'>..</span><span class='integer val'>-1</span><span class='rbrack token'>]</span> <span class='plus op'>+</span> <span class='@path ivar id'>@path</span><span class='dot token'>.</span><span class='last identifier id'>last</span><span class='dot token'>.</span><span class='sub identifier id'>sub</span><span class='lparen token'>(</span><span class='regexp val'>/\.\w+$/</span><span class='comma token'>,</span> <span class='dstring node'>&quot;.#{extension}&quot;</span><span class='rparen token'>)</span><span class='rbrack token'>]</span>
1318
+ <span class='else else kw'>else</span>
1319
+ <span class='return return kw'>return</span> <span class='@path ivar id'>@path</span><span class='lbrack token'>[</span><span class='integer val'>-1</span><span class='rbrack token'>]</span> <span class='assign token'>=</span> <span class='dstring node'>&quot;#{@path.last}.#{extension}&quot;</span>
1320
+ <span class='end end kw'>end</span>
1321
+ <span class='end end kw'>end</span>
1322
+ </pre>
1323
+ </td>
1324
+ </tr>
1325
+ </table>
1326
+ </div>
1327
+ </div>
1328
+ </div>
1329
+ </div>
1330
+
1331
+ <div class="method">
1332
+ <div class="method_header">
1333
+ <h3>hidden?</h3>
1334
+ </div><div id="hidden%3F-instance_method" class="section method">
1335
+ <div class="details_title">
1336
+ <div class='section methodsignature'>
1337
+ <tt class='def'>
1338
+ <span class='visibility'>public</span>
1339
+ <span class='return_types'></span>
1340
+ <span class='name'>hidden?</span><span class='args'></span>
1341
+ <span class='block'></span>
1342
+ </tt>
1343
+ </div>
1344
+
1345
+ </div><div class="section tags">
1346
+ <h2>Meta Tags</h2>
1347
+ <div class="param">
1348
+ <h3>Parameters:</h3>
1349
+ <dl>
1350
+
1351
+ </dl>
1352
+ </div><div class="since">
1353
+ <h3>Since:</h3>
1354
+ <dl>
1355
+
1356
+ <dt>
1357
+
1358
+
1359
+
1360
+ </dt>
1361
+ <dd>
1362
+ <span class='desc'><p>
1363
+ 0.0.1
1364
+ </p>
1365
+ </span>
1366
+ </dd>
1367
+
1368
+ </dl>
1369
+ </div>
1370
+
1371
+ </div><div class="section source">
1372
+ <span>[<a class="source_link" href="#">View source</a>]</span>
1373
+ <div class="source_code">
1374
+ <table>
1375
+ <tr>
1376
+ <td>
1377
+ <pre class="lines">
1378
+
1379
+
1380
+ 187
1381
+ 188
1382
+ 189</pre>
1383
+ </td>
1384
+ <td>
1385
+ <pre class="code"><span class="info file"># File 'lib/rango/ext/path.rb', line 187</span>
1386
+
1387
+ <span class='def def kw'>def</span> <span class='hidden? fid id'>hidden?</span>
1388
+ <span class='self self kw'>self</span><span class='dot token'>.</span><span class='basename identifier id'>basename</span><span class='dot token'>.</span><span class='to_s identifier id'>to_s</span><span class='dot token'>.</span><span class='match identifier id'>match</span><span class='lparen token'>(</span><span class='regexp val'>/^\./</span><span class='rparen token'>)</span><span class='dot token'>.</span><span class='to_bool identifier id'>to_bool</span>
1389
+ <span class='end end kw'>end</span>
1390
+ </pre>
1391
+ </td>
1392
+ </tr>
1393
+ </table>
1394
+ </div>
1395
+ </div>
1396
+ </div>
1397
+ </div>
1398
+
1399
+ <div class="method">
1400
+ <div class="method_header">
1401
+ <h3>inspect</h3>
1402
+ </div><div id="inspect-instance_method" class="section method">
1403
+ <div class="details_title">
1404
+ <div class='section methodsignature'>
1405
+ <tt class='def'>
1406
+ <span class='visibility'>public</span>
1407
+ <span class='return_types'></span>
1408
+ <span class='name'>inspect</span><span class='args'></span>
1409
+ <span class='block'></span>
1410
+ </tt>
1411
+ </div>
1412
+
1413
+ </div><div class="section tags">
1414
+ <h2>Meta Tags</h2>
1415
+ <div class="param">
1416
+ <h3>Parameters:</h3>
1417
+ <dl>
1418
+
1419
+ </dl>
1420
+ </div><div class="since">
1421
+ <h3>Since:</h3>
1422
+ <dl>
1423
+
1424
+ <dt>
1425
+
1426
+
1427
+
1428
+ </dt>
1429
+ <dd>
1430
+ <span class='desc'><p>
1431
+ 0.0.1
1432
+ </p>
1433
+ </span>
1434
+ </dd>
1435
+
1436
+ </dl>
1437
+ </div>
1438
+
1439
+ </div><div class="section source">
1440
+ <span>[<a class="source_link" href="#">View source</a>]</span>
1441
+ <div class="source_code">
1442
+ <table>
1443
+ <tr>
1444
+ <td>
1445
+ <pre class="lines">
1446
+
1447
+
1448
+ 73
1449
+ 74
1450
+ 75</pre>
1451
+ </td>
1452
+ <td>
1453
+ <pre class="code"><span class="info file"># File 'lib/rango/ext/path.rb', line 73</span>
1454
+
1455
+ <span class='def def kw'>def</span> <span class='inspect identifier id'>inspect</span>
1456
+ <span class='string val'>%{&quot;file://#@absolute&quot;}</span>
1457
+ <span class='end end kw'>end</span>
1458
+ </pre>
1459
+ </td>
1460
+ </tr>
1461
+ </table>
1462
+ </div>
1463
+ </div>
1464
+ </div>
1465
+ </div>
1466
+
1467
+ <div class="method">
1468
+ <div class="method_header">
1469
+ <h3>load</h3>
1470
+ </div><div id="load-instance_method" class="section method">
1471
+ <div class="details_title">
1472
+ <div class='section methodsignature'>
1473
+ <tt class='def'>
1474
+ <span class='visibility'>public</span>
1475
+ <span class='return_types'></span>
1476
+ <span class='name'>load</span><span class='args'></span>
1477
+ <span class='block'></span>
1478
+ </tt>
1479
+ </div>
1480
+
1481
+ </div><div class="section tags">
1482
+ <h2>Meta Tags</h2>
1483
+ <div class="param">
1484
+ <h3>Parameters:</h3>
1485
+ <dl>
1486
+
1487
+ </dl>
1488
+ </div><div class="since">
1489
+ <h3>Since:</h3>
1490
+ <dl>
1491
+
1492
+ <dt>
1493
+
1494
+
1495
+
1496
+ </dt>
1497
+ <dd>
1498
+ <span class='desc'><p>
1499
+ 0.0.1
1500
+ </p>
1501
+ </span>
1502
+ </dd>
1503
+
1504
+ </dl>
1505
+ </div>
1506
+
1507
+ </div><div class="section source">
1508
+ <span>[<a class="source_link" href="#">View source</a>]</span>
1509
+ <div class="source_code">
1510
+ <table>
1511
+ <tr>
1512
+ <td>
1513
+ <pre class="lines">
1514
+
1515
+
1516
+ 182
1517
+ 183
1518
+ 184</pre>
1519
+ </td>
1520
+ <td>
1521
+ <pre class="code"><span class="info file"># File 'lib/rango/ext/path.rb', line 182</span>
1522
+
1523
+ <span class='def def kw'>def</span> <span class='load identifier id'>load</span>
1524
+ <span class='Kernel constant id'>Kernel</span><span class='dot token'>.</span><span class='load identifier id'>load</span><span class='lparen token'>(</span><span class='@absolute ivar id'>@absolute</span><span class='rparen token'>)</span>
1525
+ <span class='end end kw'>end</span>
1526
+ </pre>
1527
+ </td>
1528
+ </tr>
1529
+ </table>
1530
+ </div>
1531
+ </div>
1532
+ </div>
1533
+ </div>
1534
+
1535
+ <div class="method">
1536
+ <div class="method_header">
1537
+ <h3>make_executable</h3>
1538
+ </div><div id="make_executable-instance_method" class="section method">
1539
+ <div class="details_title">
1540
+ <div class='section methodsignature'>
1541
+ <tt class='def'>
1542
+ <span class='visibility'>public</span>
1543
+ <span class='return_types'></span>
1544
+ <span class='name'>make_executable</span><span class='args'></span>
1545
+ <span class='block'></span>
1546
+ </tt>
1547
+ </div>
1548
+
1549
+ </div><div class="section docstring">
1550
+ <p>
1551
+ alias_method :childrens, :children
1552
+ </p>
1553
+
1554
+ </div><div class="section tags">
1555
+ <h2>Meta Tags</h2>
1556
+ <div class="param">
1557
+ <h3>Parameters:</h3>
1558
+ <dl>
1559
+
1560
+ </dl>
1561
+ </div><div class="since">
1562
+ <h3>Since:</h3>
1563
+ <dl>
1564
+
1565
+ <dt>
1566
+
1567
+
1568
+
1569
+ </dt>
1570
+ <dd>
1571
+ <span class='desc'><p>
1572
+ 0.0.1
1573
+ </p>
1574
+ </span>
1575
+ </dd>
1576
+
1577
+ </dl>
1578
+ </div>
1579
+
1580
+ </div><div class="section source">
1581
+ <span>[<a class="source_link" href="#">View source</a>]</span>
1582
+ <div class="source_code">
1583
+ <table>
1584
+ <tr>
1585
+ <td>
1586
+ <pre class="lines">
1587
+
1588
+
1589
+ 160
1590
+ 161
1591
+ 162</pre>
1592
+ </td>
1593
+ <td>
1594
+ <pre class="code"><span class="info file"># File 'lib/rango/ext/path.rb', line 160</span>
1595
+
1596
+ <span class='def def kw'>def</span> <span class='make_executable identifier id'>make_executable</span>
1597
+ <span class='File constant id'>File</span><span class='dot token'>.</span><span class='chmod identifier id'>chmod</span><span class='lparen token'>(</span><span class='integer val'>0755</span><span class='comma token'>,</span> <span class='@filename ivar id'>@filename</span><span class='rparen token'>)</span>
1598
+ <span class='end end kw'>end</span>
1599
+ </pre>
1600
+ </td>
1601
+ </tr>
1602
+ </table>
1603
+ </div>
1604
+ </div>
1605
+ </div>
1606
+ </div>
1607
+
1608
+ <div class="method">
1609
+ <div class="method_header">
1610
+ <h3>make_unexecutable</h3>
1611
+ </div><div id="make_unexecutable-instance_method" class="section method">
1612
+ <div class="details_title">
1613
+ <div class='section methodsignature'>
1614
+ <tt class='def'>
1615
+ <span class='visibility'>public</span>
1616
+ <span class='return_types'></span>
1617
+ <span class='name'>make_unexecutable</span><span class='args'></span>
1618
+ <span class='block'></span>
1619
+ </tt>
1620
+ </div>
1621
+
1622
+ </div><div class="section tags">
1623
+ <h2>Meta Tags</h2>
1624
+ <div class="param">
1625
+ <h3>Parameters:</h3>
1626
+ <dl>
1627
+
1628
+ </dl>
1629
+ </div><div class="since">
1630
+ <h3>Since:</h3>
1631
+ <dl>
1632
+
1633
+ <dt>
1634
+
1635
+
1636
+
1637
+ </dt>
1638
+ <dd>
1639
+ <span class='desc'><p>
1640
+ 0.0.1
1641
+ </p>
1642
+ </span>
1643
+ </dd>
1644
+
1645
+ </dl>
1646
+ </div>
1647
+
1648
+ </div><div class="section source">
1649
+ <span>[<a class="source_link" href="#">View source</a>]</span>
1650
+ <div class="source_code">
1651
+ <table>
1652
+ <tr>
1653
+ <td>
1654
+ <pre class="lines">
1655
+
1656
+
1657
+ 165
1658
+ 166
1659
+ 167</pre>
1660
+ </td>
1661
+ <td>
1662
+ <pre class="code"><span class="info file"># File 'lib/rango/ext/path.rb', line 165</span>
1663
+
1664
+ <span class='def def kw'>def</span> <span class='make_unexecutable identifier id'>make_unexecutable</span>
1665
+ <span class='File constant id'>File</span><span class='dot token'>.</span><span class='chmod identifier id'>chmod</span><span class='lparen token'>(</span><span class='integer val'>0644</span><span class='comma token'>,</span> <span class='@filename ivar id'>@filename</span><span class='rparen token'>)</span>
1666
+ <span class='end end kw'>end</span>
1667
+ </pre>
1668
+ </td>
1669
+ </tr>
1670
+ </table>
1671
+ </div>
1672
+ </div>
1673
+ </div>
1674
+ </div>
1675
+
1676
+ <div class="method">
1677
+ <div class="method_header">
1678
+ <h3>md5</h3>
1679
+ </div><div id="md5-instance_method" class="section method">
1680
+ <div class="details_title">
1681
+ <div class='section methodsignature'>
1682
+ <tt class='def'>
1683
+ <span class='visibility'>public</span>
1684
+ <span class='return_types'></span>
1685
+ <span class='name'>md5</span><span class='args'>(file)</span>
1686
+ <span class='block'></span>
1687
+ </tt>
1688
+ </div>
1689
+
1690
+ </div><div class="section tags">
1691
+ <h2>Meta Tags</h2>
1692
+ <div class="param">
1693
+ <h3>Parameters:</h3>
1694
+ <dl>
1695
+
1696
+ </dl>
1697
+ </div><div class="since">
1698
+ <h3>Since:</h3>
1699
+ <dl>
1700
+
1701
+ <dt>
1702
+
1703
+
1704
+
1705
+ </dt>
1706
+ <dd>
1707
+ <span class='desc'><p>
1708
+ 0.0.1
1709
+ </p>
1710
+ </span>
1711
+ </dd>
1712
+
1713
+ </dl>
1714
+ </div>
1715
+
1716
+ </div><div class="section source">
1717
+ <span>[<a class="source_link" href="#">View source</a>]</span>
1718
+ <div class="source_code">
1719
+ <table>
1720
+ <tr>
1721
+ <td>
1722
+ <pre class="lines">
1723
+
1724
+
1725
+ 203
1726
+ 204
1727
+ 205
1728
+ 206</pre>
1729
+ </td>
1730
+ <td>
1731
+ <pre class="code"><span class="info file"># File 'lib/rango/ext/path.rb', line 203</span>
1732
+
1733
+ <span class='def def kw'>def</span> <span class='md5 identifier id'>md5</span><span class='lparen token'>(</span><span class='file identifier id'>file</span><span class='rparen token'>)</span>
1734
+ <span class='require identifier id'>require</span> <span class='string val'>'digest/md5'</span>
1735
+ <span class='Digest constant id'>Digest</span><span class='colon2 op'>::</span><span class='MD5 constant id'>MD5</span><span class='dot token'>.</span><span class='hexdigest identifier id'>hexdigest</span><span class='lparen token'>(</span><span class='File constant id'>File</span><span class='dot token'>.</span><span class='read identifier id'>read</span><span class='lparen token'>(</span><span class='file identifier id'>file</span><span class='rparen token'>)</span><span class='rparen token'>)</span>
1736
+ <span class='end end kw'>end</span>
1737
+ </pre>
1738
+ </td>
1739
+ </tr>
1740
+ </table>
1741
+ </div>
1742
+ </div>
1743
+ </div>
1744
+ </div>
1745
+
1746
+ <div class="method">
1747
+ <div class="method_header">
1748
+ <h3>normalize</h3>
1749
+ </div><div id="normalize-instance_method" class="section method">
1750
+ <div class="details_title">
1751
+ <div class='section methodsignature'>
1752
+ <tt class='def'>
1753
+ <span class='visibility'>public</span>
1754
+ <span class='return_types'></span>
1755
+ <span class='name'>normalize</span><span class='args'></span>
1756
+ <span class='block'></span>
1757
+ </tt>
1758
+ </div>
1759
+
1760
+ </div><div class="section docstring">
1761
+ <p>
1762
+ dir/foo/../ => dir/
1763
+ </p>
1764
+
1765
+ </div><div class="section tags">
1766
+ <h2>Meta Tags</h2>
1767
+ <div class="param">
1768
+ <h3>Parameters:</h3>
1769
+ <dl>
1770
+
1771
+ </dl>
1772
+ </div><div class="since">
1773
+ <h3>Since:</h3>
1774
+ <dl>
1775
+
1776
+ <dt>
1777
+
1778
+
1779
+
1780
+ </dt>
1781
+ <dd>
1782
+ <span class='desc'><p>
1783
+ 0.0.1
1784
+ </p>
1785
+ </span>
1786
+ </dd>
1787
+
1788
+ </dl>
1789
+ </div>
1790
+
1791
+ </div><div class="section source">
1792
+ <span>[<a class="source_link" href="#">View source</a>]</span>
1793
+ <div class="source_code">
1794
+ <table>
1795
+ <tr>
1796
+ <td>
1797
+ <pre class="lines">
1798
+
1799
+
1800
+ 193
1801
+ 194
1802
+ 195</pre>
1803
+ </td>
1804
+ <td>
1805
+ <pre class="code"><span class="info file"># File 'lib/rango/ext/path.rb', line 193</span>
1806
+
1807
+ <span class='def def kw'>def</span> <span class='normalize identifier id'>normalize</span>
1808
+ <span class='@filename ivar id'>@filename</span><span class='dot token'>.</span><span class='gsub! fid id'>gsub!</span><span class='lparen token'>(</span><span class='regexp val'>/[^\/]+\/\.{2}/</span><span class='comma token'>,</span> <span class='string val'>&quot;&quot;</span><span class='rparen token'>)</span>
1809
+ <span class='end end kw'>end</span>
1810
+ </pre>
1811
+ </td>
1812
+ </tr>
1813
+ </table>
1814
+ </div>
1815
+ </div>
1816
+ </div>
1817
+ </div>
1818
+
1819
+ <div class="method">
1820
+ <div class="method_header">
1821
+ <h3>read</h3>
1822
+ </div><div id="read-instance_method" class="section method">
1823
+ <div class="details_title">
1824
+ <div class='section methodsignature'>
1825
+ <tt class='def'>
1826
+ <span class='visibility'>public</span>
1827
+ <span class='return_types'></span>
1828
+ <span class='name'>read</span><span class='args'>(&amp;block)</span>
1829
+ <span class='block'></span>
1830
+ </tt>
1831
+ </div>
1832
+
1833
+ </div><div class="section tags">
1834
+ <h2>Meta Tags</h2>
1835
+ <div class="param">
1836
+ <h3>Parameters:</h3>
1837
+ <dl>
1838
+
1839
+ </dl>
1840
+ </div><div class="since">
1841
+ <h3>Since:</h3>
1842
+ <dl>
1843
+
1844
+ <dt>
1845
+
1846
+
1847
+
1848
+ </dt>
1849
+ <dd>
1850
+ <span class='desc'><p>
1851
+ 0.0.1
1852
+ </p>
1853
+ </span>
1854
+ </dd>
1855
+
1856
+ </dl>
1857
+ </div>
1858
+
1859
+ </div><div class="section source">
1860
+ <span>[<a class="source_link" href="#">View source</a>]</span>
1861
+ <div class="source_code">
1862
+ <table>
1863
+ <tr>
1864
+ <td>
1865
+ <pre class="lines">
1866
+
1867
+
1868
+ 108
1869
+ 109
1870
+ 110
1871
+ 111
1872
+ 112
1873
+ 113
1874
+ 114</pre>
1875
+ </td>
1876
+ <td>
1877
+ <pre class="code"><span class="info file"># File 'lib/rango/ext/path.rb', line 108</span>
1878
+
1879
+ <span class='def def kw'>def</span> <span class='read identifier id'>read</span><span class='lparen token'>(</span><span class='bitand op'>&amp;</span><span class='block identifier id'>block</span><span class='rparen token'>)</span>
1880
+ <span class='if if kw'>if</span> <span class='block_given? fid id'>block_given?</span>
1881
+ <span class='File constant id'>File</span><span class='dot token'>.</span><span class='open identifier id'>open</span><span class='lparen token'>(</span><span class='@absolute ivar id'>@absolute</span><span class='comma token'>,</span> <span class='string val'>&quot;r&quot;</span><span class='comma token'>,</span> <span class='bitand op'>&amp;</span><span class='block identifier id'>block</span><span class='rparen token'>)</span>
1882
+ <span class='else else kw'>else</span>
1883
+ <span class='File constant id'>File</span><span class='dot token'>.</span><span class='read identifier id'>read</span><span class='lparen token'>(</span><span class='@absolute ivar id'>@absolute</span><span class='rparen token'>)</span>
1884
+ <span class='end end kw'>end</span>
1885
+ <span class='end end kw'>end</span>
1886
+ </pre>
1887
+ </td>
1888
+ </tr>
1889
+ </table>
1890
+ </div>
1891
+ </div>
1892
+ </div>
1893
+ </div>
1894
+
1895
+ <div class="method">
1896
+ <div class="method_header">
1897
+ <h3>relative</h3>
1898
+ </div><div id="relative-instance_method" class="section method">
1899
+ <div class="details_title">
1900
+ <div class='section methodsignature'>
1901
+ <tt class='def'>
1902
+ <span class='visibility'>public</span>
1903
+ <span class='return_types'></span>
1904
+ <span class='name'>relative</span><span class='args'></span>
1905
+ <span class='block'></span>
1906
+ </tt>
1907
+ </div>
1908
+
1909
+ </div><div class="section tags">
1910
+ <h2>Meta Tags</h2>
1911
+ <div class="param">
1912
+ <h3>Parameters:</h3>
1913
+ <dl>
1914
+
1915
+ </dl>
1916
+ </div><div class="since">
1917
+ <h3>Since:</h3>
1918
+ <dl>
1919
+
1920
+ <dt>
1921
+
1922
+
1923
+
1924
+ </dt>
1925
+ <dd>
1926
+ <span class='desc'><p>
1927
+ 0.0.1
1928
+ </p>
1929
+ </span>
1930
+ </dd>
1931
+
1932
+ </dl>
1933
+ </div>
1934
+
1935
+ </div><div class="section source">
1936
+ <span>[<a class="source_link" href="#">View source</a>]</span>
1937
+ <div class="source_code">
1938
+ <table>
1939
+ <tr>
1940
+ <td>
1941
+ <pre class="lines">
1942
+
1943
+
1944
+ 28
1945
+ 29
1946
+ 30
1947
+ 31
1948
+ 32</pre>
1949
+ </td>
1950
+ <td>
1951
+ <pre class="code"><span class="info file"># File 'lib/rango/ext/path.rb', line 28</span>
1952
+
1953
+ <span class='def def kw'>def</span> <span class='relative identifier id'>relative</span>
1954
+ <span class='path identifier id'>path</span> <span class='assign token'>=</span> <span class='@absolute ivar id'>@absolute</span><span class='dot token'>.</span><span class='dup identifier id'>dup</span>
1955
+ <span class='path identifier id'>path</span><span class='lbrack token'>[</span><span class='Dir constant id'>Dir</span><span class='dot token'>.</span><span class='pwd identifier id'>pwd</span> <span class='plus op'>+</span> <span class='string val'>&quot;/&quot;</span><span class='rbrack token'>]</span> <span class='assign token'>=</span> <span class='String constant id'>String</span><span class='dot token'>.</span><span class='new identifier id'>new</span>
1956
+ <span class='return return kw'>return</span> <span class='path identifier id'>path</span>
1957
+ <span class='end end kw'>end</span>
1958
+ </pre>
1959
+ </td>
1960
+ </tr>
1961
+ </table>
1962
+ </div>
1963
+ </div>
1964
+ </div>
1965
+ </div>
1966
+
1967
+ <div class="method">
1968
+ <div class="method_header">
1969
+ <h3>rewrite</h3>
1970
+ </div><div id="rewrite-instance_method" class="section method">
1971
+ <div class="details_title">
1972
+ <div class='section methodsignature'>
1973
+ <tt class='def'>
1974
+ <span class='visibility'>public</span>
1975
+ <span class='return_types'></span>
1976
+ <span class='name'>rewrite</span><span class='args'>(&amp;block)</span>
1977
+ <span class='block'></span>
1978
+ </tt>
1979
+ </div>
1980
+
1981
+ </div><div class="section tags">
1982
+ <h2>Meta Tags</h2>
1983
+ <div class="param">
1984
+ <h3>Parameters:</h3>
1985
+ <dl>
1986
+
1987
+ </dl>
1988
+ </div><div class="since">
1989
+ <h3>Since:</h3>
1990
+ <dl>
1991
+
1992
+ <dt>
1993
+
1994
+
1995
+
1996
+ </dt>
1997
+ <dd>
1998
+ <span class='desc'><p>
1999
+ 0.0.1
2000
+ </p>
2001
+ </span>
2002
+ </dd>
2003
+
2004
+ </dl>
2005
+ </div>
2006
+
2007
+ </div><div class="section source">
2008
+ <span>[<a class="source_link" href="#">View source</a>]</span>
2009
+ <div class="source_code">
2010
+ <table>
2011
+ <tr>
2012
+ <td>
2013
+ <pre class="lines">
2014
+
2015
+
2016
+ 122
2017
+ 123
2018
+ 124</pre>
2019
+ </td>
2020
+ <td>
2021
+ <pre class="code"><span class="info file"># File 'lib/rango/ext/path.rb', line 122</span>
2022
+
2023
+ <span class='def def kw'>def</span> <span class='rewrite identifier id'>rewrite</span><span class='lparen token'>(</span><span class='bitand op'>&amp;</span><span class='block identifier id'>block</span><span class='rparen token'>)</span>
2024
+ <span class='File constant id'>File</span><span class='dot token'>.</span><span class='open identifier id'>open</span><span class='lparen token'>(</span><span class='file identifier id'>file</span><span class='comma token'>,</span> <span class='string val'>&quot;w+&quot;</span><span class='comma token'>,</span> <span class='bitand op'>&amp;</span><span class='block identifier id'>block</span><span class='rparen token'>)</span>
2025
+ <span class='end end kw'>end</span>
2026
+ </pre>
2027
+ </td>
2028
+ </tr>
2029
+ </table>
2030
+ </div>
2031
+ </div>
2032
+ </div>
2033
+ </div>
2034
+
2035
+ <div class="method">
2036
+ <div class="method_header">
2037
+ <h3>run</h3>
2038
+ </div><div id="run-instance_method" class="section method">
2039
+ <div class="details_title">
2040
+ <div class='section methodsignature'>
2041
+ <tt class='def'>
2042
+ <span class='visibility'>public</span>
2043
+ <span class='return_types'></span>
2044
+ <span class='name'>run</span><span class='args'>(command)</span>
2045
+ <span class='block'></span>
2046
+ </tt>
2047
+ </div>
2048
+
2049
+ </div><div class="section tags">
2050
+ <h2>Meta Tags</h2>
2051
+ <div class="param">
2052
+ <h3>Parameters:</h3>
2053
+ <dl>
2054
+
2055
+ </dl>
2056
+ </div><div class="since">
2057
+ <h3>Since:</h3>
2058
+ <dl>
2059
+
2060
+ <dt>
2061
+
2062
+
2063
+
2064
+ </dt>
2065
+ <dd>
2066
+ <span class='desc'><p>
2067
+ 0.0.1
2068
+ </p>
2069
+ </span>
2070
+ </dd>
2071
+
2072
+ </dl>
2073
+ </div>
2074
+
2075
+ </div><div class="section source">
2076
+ <span>[<a class="source_link" href="#">View source</a>]</span>
2077
+ <div class="source_code">
2078
+ <table>
2079
+ <tr>
2080
+ <td>
2081
+ <pre class="lines">
2082
+
2083
+
2084
+ 170
2085
+ 171
2086
+ 172
2087
+ 173
2088
+ 174</pre>
2089
+ </td>
2090
+ <td>
2091
+ <pre class="code"><span class="info file"># File 'lib/rango/ext/path.rb', line 170</span>
2092
+
2093
+ <span class='def def kw'>def</span> <span class='run identifier id'>run</span><span class='lparen token'>(</span><span class='command identifier id'>command</span><span class='rparen token'>)</span>
2094
+ <span class='Dir constant id'>Dir</span><span class='dot token'>.</span><span class='chdir identifier id'>chdir</span><span class='lparen token'>(</span><span class='self self kw'>self</span><span class='rparen token'>)</span> <span class='do do kw'>do</span>
2095
+ <span class='return return kw'>return</span> <span class='dxstring node'>%x(#{command})</span>
2096
+ <span class='end end kw'>end</span>
2097
+ <span class='end end kw'>end</span>
2098
+ </pre>
2099
+ </td>
2100
+ </tr>
2101
+ </table>
2102
+ </div>
2103
+ </div>
2104
+ </div>
2105
+ </div>
2106
+
2107
+ <div class="method">
2108
+ <div class="method_header">
2109
+ <h3>to_a</h3>
2110
+ </div><div id="to_a-instance_method" class="section method">
2111
+ <div class="details_title">
2112
+ <div class='section methodsignature'>
2113
+ <tt class='def'>
2114
+ <span class='visibility'>public</span>
2115
+ <span class='return_types'></span>
2116
+ <span class='name'>to_a</span><span class='args'></span>
2117
+ <span class='block'></span>
2118
+ </tt>
2119
+ </div>
2120
+
2121
+ </div><div class="section tags">
2122
+ <h2>Meta Tags</h2>
2123
+ <div class="param">
2124
+ <h3>Parameters:</h3>
2125
+ <dl>
2126
+
2127
+ </dl>
2128
+ </div><div class="since">
2129
+ <h3>Since:</h3>
2130
+ <dl>
2131
+
2132
+ <dt>
2133
+
2134
+
2135
+
2136
+ </dt>
2137
+ <dd>
2138
+ <span class='desc'><p>
2139
+ 0.0.1
2140
+ </p>
2141
+ </span>
2142
+ </dd>
2143
+
2144
+ </dl>
2145
+ </div>
2146
+
2147
+ </div><div class="section source">
2148
+ <span>[<a class="source_link" href="#">View source</a>]</span>
2149
+ <div class="source_code">
2150
+ <table>
2151
+ <tr>
2152
+ <td>
2153
+ <pre class="lines">
2154
+
2155
+
2156
+ 144
2157
+ 145
2158
+ 146</pre>
2159
+ </td>
2160
+ <td>
2161
+ <pre class="code"><span class="info file"># File 'lib/rango/ext/path.rb', line 144</span>
2162
+
2163
+ <span class='def def kw'>def</span> <span class='to_a identifier id'>to_a</span>
2164
+ <span class='return return kw'>return</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='to_s identifier id'>to_s</span><span class='dot token'>.</span><span class='split identifier id'>split</span><span class='lparen token'>(</span><span class='string val'>&quot;/&quot;</span><span class='rparen token'>)</span>
2165
+ <span class='end end kw'>end</span>
2166
+ </pre>
2167
+ </td>
2168
+ </tr>
2169
+ </table>
2170
+ </div>
2171
+ </div>
2172
+ </div>
2173
+ </div>
2174
+
2175
+ <div class="method">
2176
+ <div class="method_header">
2177
+ <h3>url</h3>
2178
+ </div><div id="url-instance_method" class="section method">
2179
+ <div class="details_title">
2180
+ <div class='section methodsignature'>
2181
+ <tt class='def'>
2182
+ <span class='visibility'>public</span>
2183
+ <span class='return_types'></span>
2184
+ <span class='name'>url</span><span class='args'></span>
2185
+ <span class='block'></span>
2186
+ </tt>
2187
+ </div>
2188
+
2189
+ </div><div class="section tags">
2190
+ <h2>Meta Tags</h2>
2191
+ <div class="param">
2192
+ <h3>Parameters:</h3>
2193
+ <dl>
2194
+
2195
+ </dl>
2196
+ </div><div class="since">
2197
+ <h3>Since:</h3>
2198
+ <dl>
2199
+
2200
+ <dt>
2201
+
2202
+
2203
+
2204
+ </dt>
2205
+ <dd>
2206
+ <span class='desc'><p>
2207
+ 0.0.1
2208
+ </p>
2209
+ </span>
2210
+ </dd>
2211
+
2212
+ </dl>
2213
+ </div>
2214
+
2215
+ </div><div class="section source">
2216
+ <span>[<a class="source_link" href="#">View source</a>]</span>
2217
+ <div class="source_code">
2218
+ <table>
2219
+ <tr>
2220
+ <td>
2221
+ <pre class="lines">
2222
+
2223
+
2224
+ 35
2225
+ 36
2226
+ 37
2227
+ 38
2228
+ 39</pre>
2229
+ </td>
2230
+ <td>
2231
+ <pre class="code"><span class="info file"># File 'lib/rango/ext/path.rb', line 35</span>
2232
+
2233
+ <span class='def def kw'>def</span> <span class='url identifier id'>url</span>
2234
+ <span class='path identifier id'>path</span> <span class='assign token'>=</span> <span class='@absolute ivar id'>@absolute</span><span class='dot token'>.</span><span class='dup identifier id'>dup</span>
2235
+ <span class='path identifier id'>path</span><span class='lbrack token'>[</span><span class='Project constant id'>Project</span><span class='dot token'>.</span><span class='root identifier id'>root</span><span class='rbrack token'>]</span> <span class='assign token'>=</span> <span class='String constant id'>String</span><span class='dot token'>.</span><span class='new identifier id'>new</span>
2236
+ <span class='path identifier id'>path</span>
2237
+ <span class='end end kw'>end</span>
2238
+ </pre>
2239
+ </td>
2240
+ </tr>
2241
+ </table>
2242
+ </div>
2243
+ </div>
2244
+ </div>
2245
+ </div>
2246
+
2247
+ <div class="method">
2248
+ <div class="method_header">
2249
+ <h3>without_extension</h3>
2250
+ </div><div id="without_extension-instance_method" class="section method">
2251
+ <div class="details_title">
2252
+ <div class='section methodsignature'>
2253
+ <tt class='def'>
2254
+ <span class='visibility'>public</span>
2255
+ <span class='return_types'></span>
2256
+ <span class='name'>without_extension</span><span class='args'></span>
2257
+ <span class='block'></span>
2258
+ </tt>
2259
+ </div>
2260
+
2261
+ </div><div class="section tags">
2262
+ <h2>Meta Tags</h2>
2263
+ <div class="param">
2264
+ <h3>Parameters:</h3>
2265
+ <dl>
2266
+
2267
+ </dl>
2268
+ </div><div class="since">
2269
+ <h3>Since:</h3>
2270
+ <dl>
2271
+
2272
+ <dt>
2273
+
2274
+
2275
+
2276
+ </dt>
2277
+ <dd>
2278
+ <span class='desc'><p>
2279
+ 0.0.1
2280
+ </p>
2281
+ </span>
2282
+ </dd>
2283
+
2284
+ </dl>
2285
+ </div>
2286
+
2287
+ </div><div class="section source">
2288
+ <span>[<a class="source_link" href="#">View source</a>]</span>
2289
+ <div class="source_code">
2290
+ <table>
2291
+ <tr>
2292
+ <td>
2293
+ <pre class="lines">
2294
+
2295
+
2296
+ 149
2297
+ 150
2298
+ 151</pre>
2299
+ </td>
2300
+ <td>
2301
+ <pre class="code"><span class="info file"># File 'lib/rango/ext/path.rb', line 149</span>
2302
+
2303
+ <span class='def def kw'>def</span> <span class='without_extension identifier id'>without_extension</span>
2304
+ <span class='return return kw'>return</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='to_s identifier id'>to_s</span><span class='dot token'>.</span><span class='sub identifier id'>sub</span><span class='lparen token'>(</span><span class='dregexp node'>/#{extension}$/</span><span class='comma token'>,</span> <span class='string val'>''</span><span class='rparen token'>)</span>
2305
+ <span class='end end kw'>end</span>
2306
+ </pre>
2307
+ </td>
2308
+ </tr>
2309
+ </table>
2310
+ </div>
2311
+ </div>
2312
+ </div>
2313
+ </div>
2314
+
2315
+ <div class="method">
2316
+ <div class="method_header">
2317
+ <h3>without_extension!</h3>
2318
+ </div><div id="without_extension%21-instance_method" class="section method">
2319
+ <div class="details_title">
2320
+ <div class='section methodsignature'>
2321
+ <tt class='def'>
2322
+ <span class='visibility'>public</span>
2323
+ <span class='return_types'></span>
2324
+ <span class='name'>without_extension!</span><span class='args'></span>
2325
+ <span class='block'></span>
2326
+ </tt>
2327
+ </div>
2328
+
2329
+ </div><div class="section tags">
2330
+ <h2>Meta Tags</h2>
2331
+ <div class="param">
2332
+ <h3>Parameters:</h3>
2333
+ <dl>
2334
+
2335
+ </dl>
2336
+ </div><div class="since">
2337
+ <h3>Since:</h3>
2338
+ <dl>
2339
+
2340
+ <dt>
2341
+
2342
+
2343
+
2344
+ </dt>
2345
+ <dd>
2346
+ <span class='desc'><p>
2347
+ 0.0.1
2348
+ </p>
2349
+ </span>
2350
+ </dd>
2351
+
2352
+ </dl>
2353
+ </div>
2354
+
2355
+ </div><div class="section source">
2356
+ <span>[<a class="source_link" href="#">View source</a>]</span>
2357
+ <div class="source_code">
2358
+ <table>
2359
+ <tr>
2360
+ <td>
2361
+ <pre class="lines">
2362
+
2363
+
2364
+ 154
2365
+ 155
2366
+ 156</pre>
2367
+ </td>
2368
+ <td>
2369
+ <pre class="code"><span class="info file"># File 'lib/rango/ext/path.rb', line 154</span>
2370
+
2371
+ <span class='def def kw'>def</span> <span class='without_extension! fid id'>without_extension!</span>
2372
+ <span class='return return kw'>return</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='to_s identifier id'>to_s</span><span class='dot token'>.</span><span class='sub! fid id'>sub!</span><span class='lparen token'>(</span><span class='dregexp node'>/#{extension}$/</span><span class='comma token'>,</span> <span class='string val'>''</span><span class='rparen token'>)</span>
2373
+ <span class='end end kw'>end</span>
2374
+ </pre>
2375
+ </td>
2376
+ </tr>
2377
+ </table>
2378
+ </div>
2379
+ </div>
2380
+ </div>
2381
+ </div>
2382
+
2383
+ <div class="method">
2384
+ <div class="method_header">
2385
+ <h3>write</h3>
2386
+ </div><div id="write-instance_method" class="section method">
2387
+ <div class="details_title">
2388
+ <div class='section methodsignature'>
2389
+ <tt class='def'>
2390
+ <span class='visibility'>public</span>
2391
+ <span class='return_types'></span>
2392
+ <span class='name'>write</span><span class='args'>(&amp;block)</span>
2393
+ <span class='block'></span>
2394
+ </tt>
2395
+ </div>
2396
+
2397
+ </div><div class="section docstring">
2398
+ <p>
2399
+ # Use instead of File.open(&#8220;foo&#8221;, &#8220;w&#8221;) def
2400
+ self.write(file, &amp;block)
2401
+ </p>
2402
+ <pre class="code">
2403
+ <span class='self self kw'>self</span><span class='dot token'>.</span><span class='open identifier id'>open</span><span class='lparen token'>(</span><span class='file identifier id'>file</span><span class='comma token'>,</span> <span class='string val'>&quot;w&quot;</span><span class='comma token'>,</span> <span class='bitand op'>&amp;</span><span class='block identifier id'>block</span><span class='rparen token'>)</span>
2404
+ </pre>
2405
+ <p>
2406
+ end
2407
+ </p>
2408
+ <p>
2409
+ # Use instead of File.open(&#8220;foo&#8221;, &#8220;r&#8221;) def
2410
+ self.read(file, &amp;block)
2411
+ </p>
2412
+ <pre class="code">
2413
+ <span class='self self kw'>self</span><span class='dot token'>.</span><span class='open identifier id'>open</span><span class='lparen token'>(</span><span class='file identifier id'>file</span><span class='comma token'>,</span> <span class='string val'>&quot;r&quot;</span><span class='comma token'>,</span> <span class='bitand op'>&amp;</span><span class='block identifier id'>block</span><span class='rparen token'>)</span>
2414
+ </pre>
2415
+ <p>
2416
+ end
2417
+ </p>
2418
+ <p>
2419
+ # Use instead of File.open(&#8220;foo&#8221;, &#8220;a&#8221;) def
2420
+ self.append(file, &amp;block)
2421
+ </p>
2422
+ <pre class="code">
2423
+ <span class='self self kw'>self</span><span class='dot token'>.</span><span class='open identifier id'>open</span><span class='lparen token'>(</span><span class='file identifier id'>file</span><span class='comma token'>,</span> <span class='string val'>&quot;a&quot;</span><span class='comma token'>,</span> <span class='bitand op'>&amp;</span><span class='block identifier id'>block</span><span class='rparen token'>)</span>
2424
+ </pre>
2425
+ <p>
2426
+ end
2427
+ </p>
2428
+ <p>
2429
+ # Use instead of File.open(&#8220;foo&#8221;, &#8220;w<tt>&#8221;) def
2430
+ self.rewrite(file, &amp;block)
2431
+ </p>
2432
+ <pre class="code">
2433
+ <span class='self self kw'>self</span><span class='dot token'>.</span><span class='open identifier id'>open</span><span class='lparen token'>(</span><span class='file identifier id'>file</span><span class='comma token'>,</span> <span class='string val'>&quot;w&lt;/tt&gt;&quot;</span><span class='comma token'>,</span> <span class='bitand op'>&amp;</span><span class='block identifier id'>block</span><span class='rparen token'>)</span>
2434
+ </pre>
2435
+ <p>
2436
+ end
2437
+ </p>
2438
+
2439
+ </div><div class="section tags">
2440
+ <h2>Meta Tags</h2>
2441
+ <div class="param">
2442
+ <h3>Parameters:</h3>
2443
+ <dl>
2444
+
2445
+ </dl>
2446
+ </div><div class="since">
2447
+ <h3>Since:</h3>
2448
+ <dl>
2449
+
2450
+ <dt>
2451
+
2452
+
2453
+
2454
+ </dt>
2455
+ <dd>
2456
+ <span class='desc'><p>
2457
+ 0.0.1
2458
+ </p>
2459
+ </span>
2460
+ </dd>
2461
+
2462
+ </dl>
2463
+ </div>
2464
+
2465
+ </div><div class="section source">
2466
+ <span>[<a class="source_link" href="#">View source</a>]</span>
2467
+ <div class="source_code">
2468
+ <table>
2469
+ <tr>
2470
+ <td>
2471
+ <pre class="lines">
2472
+
2473
+
2474
+ 103
2475
+ 104
2476
+ 105</pre>
2477
+ </td>
2478
+ <td>
2479
+ <pre class="code"><span class="info file"># File 'lib/rango/ext/path.rb', line 103</span>
2480
+
2481
+ <span class='def def kw'>def</span> <span class='write identifier id'>write</span><span class='lparen token'>(</span><span class='bitand op'>&amp;</span><span class='block identifier id'>block</span><span class='rparen token'>)</span>
2482
+ <span class='File constant id'>File</span><span class='dot token'>.</span><span class='open identifier id'>open</span><span class='lparen token'>(</span><span class='file identifier id'>file</span><span class='comma token'>,</span> <span class='string val'>&quot;w&quot;</span><span class='comma token'>,</span> <span class='bitand op'>&amp;</span><span class='block identifier id'>block</span><span class='rparen token'>)</span>
2483
+ <span class='end end kw'>end</span>
2484
+ </pre>
2485
+ </td>
2486
+ </tr>
2487
+ </table>
2488
+ </div>
2489
+ </div>
2490
+ </div>
2491
+ </div>
2492
+
2493
+ </div>
2494
+ </div>
2495
+
2496
+ </div>
2497
+ </div>
2498
+ </body>
2499
+ </html>