rango 0.0.6 → 0.1.pre
Sign up to get free protection for your applications and to get access to all the features.
- data/doc/0.0.3/Array.html +354 -0
- data/doc/0.0.3/AttributeMixin.html +697 -0
- data/doc/0.0.3/Class.html +102 -0
- data/doc/0.0.3/ColoredString.html +476 -0
- data/doc/0.0.3/Enumerable.html +256 -0
- data/doc/0.0.3/File.html +909 -0
- data/doc/0.0.3/Hash.html +1586 -0
- data/doc/0.0.3/Kernel.html +956 -0
- data/doc/0.0.3/OS.html +740 -0
- data/doc/0.0.3/Object.html +466 -0
- data/doc/0.0.3/ObjectSpace.html +184 -0
- data/doc/0.0.3/Path.html +2499 -0
- data/doc/0.0.3/Range.html +190 -0
- data/doc/0.0.3/Rango.html +379 -0
- data/doc/0.0.3/Rango/ApplicationMixin.html +396 -0
- data/doc/0.0.3/Rango/Bundling.html +23 -0
- data/doc/0.0.3/Rango/Bundling/RequireStrategy.html +283 -0
- data/doc/0.0.3/Rango/Bundling/Strategy.html +703 -0
- data/doc/0.0.3/Rango/CLI.html +23 -0
- data/doc/0.0.3/Rango/CLI/Generator.html +762 -0
- data/doc/0.0.3/Rango/CLI/Templater.html +258 -0
- data/doc/0.0.3/Rango/CallableStrategy.html +300 -0
- data/doc/0.0.3/Rango/Chainable.html +181 -0
- data/doc/0.0.3/Rango/Configurable.html +199 -0
- data/doc/0.0.3/Rango/Controller.html +962 -0
- data/doc/0.0.3/Rango/ControllerMixin.html +860 -0
- data/doc/0.0.3/Rango/ControllerStrategy.html +264 -0
- data/doc/0.0.3/Rango/DependencyStrategy.html +116 -0
- data/doc/0.0.3/Rango/Dispatcher.html +305 -0
- data/doc/0.0.3/Rango/Form.html +162 -0
- data/doc/0.0.3/Rango/GemDependencyStrategy.html +210 -0
- data/doc/0.0.3/Rango/Generator.html +93 -0
- data/doc/0.0.3/Rango/GenericViews.html +128 -0
- data/doc/0.0.3/Rango/GitDependencyStrategy.html +224 -0
- data/doc/0.0.3/Rango/GithubDependencyStrategy.html +118 -0
- data/doc/0.0.3/Rango/Handler.html +474 -0
- data/doc/0.0.3/Rango/Helpers.html +1335 -0
- data/doc/0.0.3/Rango/Hookable.html +202 -0
- data/doc/0.0.3/Rango/ImportMixin.html +755 -0
- data/doc/0.0.3/Rango/Logger.html +920 -0
- data/doc/0.0.3/Rango/Mini.html +117 -0
- data/doc/0.0.3/Rango/ModelForm.html +42 -0
- data/doc/0.0.3/Rango/Project.html +516 -0
- data/doc/0.0.3/Rango/RenderMixin.html +23 -0
- data/doc/0.0.3/Rango/Request.html +1177 -0
- data/doc/0.0.3/Rango/Route.html +751 -0
- data/doc/0.0.3/Rango/Router.html +42 -0
- data/doc/0.0.3/Rango/Router/Dispatcher.html +311 -0
- data/doc/0.0.3/Rango/RouterStrategy.html +258 -0
- data/doc/0.0.3/Rango/Session.html +23 -0
- data/doc/0.0.3/Rango/Settings.html +23 -0
- data/doc/0.0.3/Rango/Settings/Erubis.html +23 -0
- data/doc/0.0.3/Rango/Settings/Framework.html +254 -0
- data/doc/0.0.3/Rango/Settings/Haml.html +23 -0
- data/doc/0.0.3/Rango/Settings/Template.html +23 -0
- data/doc/0.0.3/Rango/SimpleTemplate.html +187 -0
- data/doc/0.0.3/Rango/StrategyMixin.html +261 -0
- data/doc/0.0.3/Rango/Tasks.html +219 -0
- data/doc/0.0.3/Rango/Template.html +95 -0
- data/doc/0.0.3/Rango/Template/Adapter.html +90 -0
- data/doc/0.0.3/Rango/Templates.html +116 -0
- data/doc/0.0.3/Rango/Templates/Adapter.html +128 -0
- data/doc/0.0.3/Rango/Templates/Template.html +636 -0
- data/doc/0.0.3/Rango/Templates/TemplateHelpers.html +328 -0
- data/doc/0.0.3/RangoThor.html +205 -0
- data/doc/0.0.3/String.html +307 -0
- data/doc/0.0.3/Time.html +193 -0
- data/doc/0.0.3/TimeDSL.html +601 -0
- data/doc/0.0.3/all-methods.html +1908 -0
- data/doc/0.0.3/all-namespaces.html +114 -0
- data/doc/0.0.3/app.js +18 -0
- data/doc/0.0.3/head/Array.html +354 -0
- data/doc/0.0.3/head/AttributeMixin.html +697 -0
- data/doc/0.0.3/head/Class.html +102 -0
- data/doc/0.0.3/head/ColoredString.html +476 -0
- data/doc/0.0.3/head/Enumerable.html +256 -0
- data/doc/0.0.3/head/File.html +909 -0
- data/doc/0.0.3/head/Hash.html +1586 -0
- data/doc/0.0.3/head/Kernel.html +956 -0
- data/doc/0.0.3/head/OS.html +740 -0
- data/doc/0.0.3/head/Object.html +466 -0
- data/doc/0.0.3/head/ObjectSpace.html +184 -0
- data/doc/0.0.3/head/Path.html +2499 -0
- data/doc/0.0.3/head/Range.html +190 -0
- data/doc/0.0.3/head/Rango.html +379 -0
- data/doc/0.0.3/head/Rango/ApplicationMixin.html +396 -0
- data/doc/0.0.3/head/Rango/Bundling.html +23 -0
- data/doc/0.0.3/head/Rango/Bundling/RequireStrategy.html +283 -0
- data/doc/0.0.3/head/Rango/Bundling/Strategy.html +703 -0
- data/doc/0.0.3/head/Rango/CLI.html +23 -0
- data/doc/0.0.3/head/Rango/CLI/Generator.html +762 -0
- data/doc/0.0.3/head/Rango/CLI/Templater.html +258 -0
- data/doc/0.0.3/head/Rango/CallableStrategy.html +300 -0
- data/doc/0.0.3/head/Rango/Chainable.html +181 -0
- data/doc/0.0.3/head/Rango/Configurable.html +199 -0
- data/doc/0.0.3/head/Rango/Controller.html +962 -0
- data/doc/0.0.3/head/Rango/ControllerMixin.html +860 -0
- data/doc/0.0.3/head/Rango/ControllerStrategy.html +264 -0
- data/doc/0.0.3/head/Rango/DependencyStrategy.html +116 -0
- data/doc/0.0.3/head/Rango/Dispatcher.html +305 -0
- data/doc/0.0.3/head/Rango/Form.html +162 -0
- data/doc/0.0.3/head/Rango/GemDependencyStrategy.html +210 -0
- data/doc/0.0.3/head/Rango/Generator.html +93 -0
- data/doc/0.0.3/head/Rango/GenericViews.html +128 -0
- data/doc/0.0.3/head/Rango/GitDependencyStrategy.html +224 -0
- data/doc/0.0.3/head/Rango/GithubDependencyStrategy.html +118 -0
- data/doc/0.0.3/head/Rango/Handler.html +474 -0
- data/doc/0.0.3/head/Rango/Helpers.html +1335 -0
- data/doc/0.0.3/head/Rango/Hookable.html +202 -0
- data/doc/0.0.3/head/Rango/ImportMixin.html +755 -0
- data/doc/0.0.3/head/Rango/Logger.html +920 -0
- data/doc/0.0.3/head/Rango/Mini.html +117 -0
- data/doc/0.0.3/head/Rango/ModelForm.html +42 -0
- data/doc/0.0.3/head/Rango/Project.html +516 -0
- data/doc/0.0.3/head/Rango/RenderMixin.html +23 -0
- data/doc/0.0.3/head/Rango/Request.html +1177 -0
- data/doc/0.0.3/head/Rango/Route.html +751 -0
- data/doc/0.0.3/head/Rango/Router.html +42 -0
- data/doc/0.0.3/head/Rango/Router/Dispatcher.html +311 -0
- data/doc/0.0.3/head/Rango/RouterStrategy.html +258 -0
- data/doc/0.0.3/head/Rango/Session.html +23 -0
- data/doc/0.0.3/head/Rango/Settings.html +23 -0
- data/doc/0.0.3/head/Rango/Settings/Erubis.html +23 -0
- data/doc/0.0.3/head/Rango/Settings/Framework.html +254 -0
- data/doc/0.0.3/head/Rango/Settings/Haml.html +23 -0
- data/doc/0.0.3/head/Rango/Settings/Template.html +23 -0
- data/doc/0.0.3/head/Rango/SimpleTemplate.html +187 -0
- data/doc/0.0.3/head/Rango/StrategyMixin.html +261 -0
- data/doc/0.0.3/head/Rango/Tasks.html +219 -0
- data/doc/0.0.3/head/Rango/Template.html +95 -0
- data/doc/0.0.3/head/Rango/Template/Adapter.html +90 -0
- data/doc/0.0.3/head/Rango/Templates.html +116 -0
- data/doc/0.0.3/head/Rango/Templates/Adapter.html +128 -0
- data/doc/0.0.3/head/Rango/Templates/Template.html +636 -0
- data/doc/0.0.3/head/Rango/Templates/TemplateHelpers.html +328 -0
- data/doc/0.0.3/head/RangoThor.html +205 -0
- data/doc/0.0.3/head/String.html +307 -0
- data/doc/0.0.3/head/Time.html +193 -0
- data/doc/0.0.3/head/TimeDSL.html +601 -0
- data/doc/0.0.3/head/all-methods.html +1908 -0
- data/doc/0.0.3/head/all-namespaces.html +114 -0
- data/doc/0.0.3/head/app.js +18 -0
- data/doc/0.0.3/head/index.html +18 -0
- data/doc/0.0.3/head/jquery.js +11 -0
- data/doc/0.0.3/head/readme.html +36 -0
- data/doc/0.0.3/head/style.css +68 -0
- data/doc/0.0.3/head/syntax_highlight.css +21 -0
- data/doc/0.0.3/index.html +18 -0
- data/doc/0.0.3/jquery.js +11 -0
- data/doc/0.0.3/readme.html +36 -0
- data/doc/0.0.3/style.css +68 -0
- data/doc/0.0.3/syntax_highlight.css +21 -0
- data/doc/0.0.4/Array.html +354 -0
- data/doc/0.0.4/AttributeMixin.html +697 -0
- data/doc/0.0.4/Class.html +102 -0
- data/doc/0.0.4/ColoredString.html +476 -0
- data/doc/0.0.4/Enumerable.html +256 -0
- data/doc/0.0.4/File.html +909 -0
- data/doc/0.0.4/Hash.html +1586 -0
- data/doc/0.0.4/Kernel.html +956 -0
- data/doc/0.0.4/OS.html +740 -0
- data/doc/0.0.4/Object.html +466 -0
- data/doc/0.0.4/ObjectSpace.html +184 -0
- data/doc/0.0.4/Path.html +2499 -0
- data/doc/0.0.4/Range.html +190 -0
- data/doc/0.0.4/Rango.html +379 -0
- data/doc/0.0.4/Rango/ApplicationMixin.html +396 -0
- data/doc/0.0.4/Rango/Bundling.html +23 -0
- data/doc/0.0.4/Rango/Bundling/RequireStrategy.html +283 -0
- data/doc/0.0.4/Rango/Bundling/Strategy.html +703 -0
- data/doc/0.0.4/Rango/CLI.html +23 -0
- data/doc/0.0.4/Rango/CLI/Generator.html +762 -0
- data/doc/0.0.4/Rango/CLI/Templater.html +258 -0
- data/doc/0.0.4/Rango/CallableStrategy.html +300 -0
- data/doc/0.0.4/Rango/Chainable.html +181 -0
- data/doc/0.0.4/Rango/Configurable.html +199 -0
- data/doc/0.0.4/Rango/Controller.html +962 -0
- data/doc/0.0.4/Rango/ControllerMixin.html +860 -0
- data/doc/0.0.4/Rango/ControllerStrategy.html +264 -0
- data/doc/0.0.4/Rango/DependencyStrategy.html +116 -0
- data/doc/0.0.4/Rango/Dispatcher.html +305 -0
- data/doc/0.0.4/Rango/Form.html +162 -0
- data/doc/0.0.4/Rango/GemDependencyStrategy.html +210 -0
- data/doc/0.0.4/Rango/Generator.html +93 -0
- data/doc/0.0.4/Rango/GenericViews.html +128 -0
- data/doc/0.0.4/Rango/GitDependencyStrategy.html +224 -0
- data/doc/0.0.4/Rango/GithubDependencyStrategy.html +118 -0
- data/doc/0.0.4/Rango/Handler.html +474 -0
- data/doc/0.0.4/Rango/Helpers.html +1335 -0
- data/doc/0.0.4/Rango/Hookable.html +202 -0
- data/doc/0.0.4/Rango/ImportMixin.html +755 -0
- data/doc/0.0.4/Rango/Logger.html +920 -0
- data/doc/0.0.4/Rango/Mini.html +117 -0
- data/doc/0.0.4/Rango/ModelForm.html +42 -0
- data/doc/0.0.4/Rango/Project.html +516 -0
- data/doc/0.0.4/Rango/RenderMixin.html +23 -0
- data/doc/0.0.4/Rango/Request.html +1177 -0
- data/doc/0.0.4/Rango/Route.html +751 -0
- data/doc/0.0.4/Rango/Router.html +42 -0
- data/doc/0.0.4/Rango/Router/Dispatcher.html +311 -0
- data/doc/0.0.4/Rango/RouterStrategy.html +258 -0
- data/doc/0.0.4/Rango/Session.html +23 -0
- data/doc/0.0.4/Rango/Settings.html +23 -0
- data/doc/0.0.4/Rango/Settings/Erubis.html +23 -0
- data/doc/0.0.4/Rango/Settings/Framework.html +254 -0
- data/doc/0.0.4/Rango/Settings/Haml.html +23 -0
- data/doc/0.0.4/Rango/Settings/Template.html +23 -0
- data/doc/0.0.4/Rango/SimpleTemplate.html +187 -0
- data/doc/0.0.4/Rango/StrategyMixin.html +261 -0
- data/doc/0.0.4/Rango/Tasks.html +219 -0
- data/doc/0.0.4/Rango/Template.html +95 -0
- data/doc/0.0.4/Rango/Template/Adapter.html +90 -0
- data/doc/0.0.4/Rango/Templates.html +116 -0
- data/doc/0.0.4/Rango/Templates/Adapter.html +128 -0
- data/doc/0.0.4/Rango/Templates/Template.html +636 -0
- data/doc/0.0.4/Rango/Templates/TemplateHelpers.html +328 -0
- data/doc/0.0.4/RangoThor.html +205 -0
- data/doc/0.0.4/String.html +307 -0
- data/doc/0.0.4/Time.html +193 -0
- data/doc/0.0.4/TimeDSL.html +601 -0
- data/doc/0.0.4/all-methods.html +1908 -0
- data/doc/0.0.4/all-namespaces.html +114 -0
- data/doc/0.0.4/app.js +18 -0
- data/doc/0.0.4/head/Array.html +354 -0
- data/doc/0.0.4/head/AttributeMixin.html +697 -0
- data/doc/0.0.4/head/Class.html +102 -0
- data/doc/0.0.4/head/ColoredString.html +476 -0
- data/doc/0.0.4/head/Enumerable.html +256 -0
- data/doc/0.0.4/head/File.html +909 -0
- data/doc/0.0.4/head/Hash.html +1586 -0
- data/doc/0.0.4/head/Kernel.html +956 -0
- data/doc/0.0.4/head/OS.html +740 -0
- data/doc/0.0.4/head/Object.html +466 -0
- data/doc/0.0.4/head/ObjectSpace.html +184 -0
- data/doc/0.0.4/head/Path.html +2499 -0
- data/doc/0.0.4/head/Range.html +190 -0
- data/doc/0.0.4/head/Rango.html +379 -0
- data/doc/0.0.4/head/Rango/ApplicationMixin.html +396 -0
- data/doc/0.0.4/head/Rango/Bundling.html +23 -0
- data/doc/0.0.4/head/Rango/Bundling/RequireStrategy.html +283 -0
- data/doc/0.0.4/head/Rango/Bundling/Strategy.html +703 -0
- data/doc/0.0.4/head/Rango/CLI.html +23 -0
- data/doc/0.0.4/head/Rango/CLI/Generator.html +762 -0
- data/doc/0.0.4/head/Rango/CLI/Templater.html +258 -0
- data/doc/0.0.4/head/Rango/CallableStrategy.html +300 -0
- data/doc/0.0.4/head/Rango/Chainable.html +181 -0
- data/doc/0.0.4/head/Rango/Configurable.html +199 -0
- data/doc/0.0.4/head/Rango/Controller.html +962 -0
- data/doc/0.0.4/head/Rango/ControllerMixin.html +860 -0
- data/doc/0.0.4/head/Rango/ControllerStrategy.html +264 -0
- data/doc/0.0.4/head/Rango/DependencyStrategy.html +116 -0
- data/doc/0.0.4/head/Rango/Dispatcher.html +305 -0
- data/doc/0.0.4/head/Rango/Form.html +162 -0
- data/doc/0.0.4/head/Rango/GemDependencyStrategy.html +210 -0
- data/doc/0.0.4/head/Rango/Generator.html +93 -0
- data/doc/0.0.4/head/Rango/GenericViews.html +128 -0
- data/doc/0.0.4/head/Rango/GitDependencyStrategy.html +224 -0
- data/doc/0.0.4/head/Rango/GithubDependencyStrategy.html +118 -0
- data/doc/0.0.4/head/Rango/Handler.html +474 -0
- data/doc/0.0.4/head/Rango/Helpers.html +1335 -0
- data/doc/0.0.4/head/Rango/Hookable.html +202 -0
- data/doc/0.0.4/head/Rango/ImportMixin.html +755 -0
- data/doc/0.0.4/head/Rango/Logger.html +920 -0
- data/doc/0.0.4/head/Rango/Mini.html +117 -0
- data/doc/0.0.4/head/Rango/ModelForm.html +42 -0
- data/doc/0.0.4/head/Rango/Project.html +516 -0
- data/doc/0.0.4/head/Rango/RenderMixin.html +23 -0
- data/doc/0.0.4/head/Rango/Request.html +1177 -0
- data/doc/0.0.4/head/Rango/Route.html +751 -0
- data/doc/0.0.4/head/Rango/Router.html +42 -0
- data/doc/0.0.4/head/Rango/Router/Dispatcher.html +311 -0
- data/doc/0.0.4/head/Rango/RouterStrategy.html +258 -0
- data/doc/0.0.4/head/Rango/Session.html +23 -0
- data/doc/0.0.4/head/Rango/Settings.html +23 -0
- data/doc/0.0.4/head/Rango/Settings/Erubis.html +23 -0
- data/doc/0.0.4/head/Rango/Settings/Framework.html +254 -0
- data/doc/0.0.4/head/Rango/Settings/Haml.html +23 -0
- data/doc/0.0.4/head/Rango/Settings/Template.html +23 -0
- data/doc/0.0.4/head/Rango/SimpleTemplate.html +187 -0
- data/doc/0.0.4/head/Rango/StrategyMixin.html +261 -0
- data/doc/0.0.4/head/Rango/Tasks.html +219 -0
- data/doc/0.0.4/head/Rango/Template.html +95 -0
- data/doc/0.0.4/head/Rango/Template/Adapter.html +90 -0
- data/doc/0.0.4/head/Rango/Templates.html +116 -0
- data/doc/0.0.4/head/Rango/Templates/Adapter.html +128 -0
- data/doc/0.0.4/head/Rango/Templates/Template.html +636 -0
- data/doc/0.0.4/head/Rango/Templates/TemplateHelpers.html +328 -0
- data/doc/0.0.4/head/RangoThor.html +205 -0
- data/doc/0.0.4/head/String.html +307 -0
- data/doc/0.0.4/head/Time.html +193 -0
- data/doc/0.0.4/head/TimeDSL.html +601 -0
- data/doc/0.0.4/head/all-methods.html +1908 -0
- data/doc/0.0.4/head/all-namespaces.html +114 -0
- data/doc/0.0.4/head/app.js +18 -0
- data/doc/0.0.4/head/index.html +18 -0
- data/doc/0.0.4/head/jquery.js +11 -0
- data/doc/0.0.4/head/readme.html +36 -0
- data/doc/0.0.4/head/style.css +68 -0
- data/doc/0.0.4/head/syntax_highlight.css +21 -0
- data/doc/0.0.4/index.html +18 -0
- data/doc/0.0.4/jquery.js +11 -0
- data/doc/0.0.4/readme.html +36 -0
- data/doc/0.0.4/style.css +68 -0
- data/doc/0.0.4/syntax_highlight.css +21 -0
- data/doc/0.0.5/Array.html +354 -0
- data/doc/0.0.5/AttributeMixin.html +697 -0
- data/doc/0.0.5/Class.html +102 -0
- data/doc/0.0.5/ColoredString.html +476 -0
- data/doc/0.0.5/Enumerable.html +256 -0
- data/doc/0.0.5/File.html +909 -0
- data/doc/0.0.5/Hash.html +1586 -0
- data/doc/0.0.5/Kernel.html +956 -0
- data/doc/0.0.5/OS.html +740 -0
- data/doc/0.0.5/Object.html +466 -0
- data/doc/0.0.5/ObjectSpace.html +184 -0
- data/doc/0.0.5/Path.html +2499 -0
- data/doc/0.0.5/Range.html +190 -0
- data/doc/0.0.5/Rango.html +379 -0
- data/doc/0.0.5/Rango/ApplicationMixin.html +396 -0
- data/doc/0.0.5/Rango/Bundling.html +23 -0
- data/doc/0.0.5/Rango/Bundling/RequireStrategy.html +283 -0
- data/doc/0.0.5/Rango/Bundling/Strategy.html +703 -0
- data/doc/0.0.5/Rango/CLI.html +23 -0
- data/doc/0.0.5/Rango/CLI/Generator.html +762 -0
- data/doc/0.0.5/Rango/CLI/Templater.html +258 -0
- data/doc/0.0.5/Rango/CallableStrategy.html +300 -0
- data/doc/0.0.5/Rango/Chainable.html +181 -0
- data/doc/0.0.5/Rango/Configurable.html +199 -0
- data/doc/0.0.5/Rango/Controller.html +962 -0
- data/doc/0.0.5/Rango/ControllerMixin.html +860 -0
- data/doc/0.0.5/Rango/ControllerStrategy.html +264 -0
- data/doc/0.0.5/Rango/DependencyStrategy.html +116 -0
- data/doc/0.0.5/Rango/Dispatcher.html +305 -0
- data/doc/0.0.5/Rango/Form.html +162 -0
- data/doc/0.0.5/Rango/GemDependencyStrategy.html +210 -0
- data/doc/0.0.5/Rango/Generator.html +93 -0
- data/doc/0.0.5/Rango/GenericViews.html +128 -0
- data/doc/0.0.5/Rango/GitDependencyStrategy.html +224 -0
- data/doc/0.0.5/Rango/GithubDependencyStrategy.html +118 -0
- data/doc/0.0.5/Rango/Handler.html +474 -0
- data/doc/0.0.5/Rango/Helpers.html +1335 -0
- data/doc/0.0.5/Rango/Hookable.html +202 -0
- data/doc/0.0.5/Rango/ImportMixin.html +755 -0
- data/doc/0.0.5/Rango/Logger.html +920 -0
- data/doc/0.0.5/Rango/Mini.html +117 -0
- data/doc/0.0.5/Rango/ModelForm.html +42 -0
- data/doc/0.0.5/Rango/Project.html +516 -0
- data/doc/0.0.5/Rango/RenderMixin.html +23 -0
- data/doc/0.0.5/Rango/Request.html +1177 -0
- data/doc/0.0.5/Rango/Route.html +751 -0
- data/doc/0.0.5/Rango/Router.html +42 -0
- data/doc/0.0.5/Rango/Router/Dispatcher.html +311 -0
- data/doc/0.0.5/Rango/RouterStrategy.html +258 -0
- data/doc/0.0.5/Rango/Session.html +23 -0
- data/doc/0.0.5/Rango/Settings.html +23 -0
- data/doc/0.0.5/Rango/Settings/Erubis.html +23 -0
- data/doc/0.0.5/Rango/Settings/Framework.html +254 -0
- data/doc/0.0.5/Rango/Settings/Haml.html +23 -0
- data/doc/0.0.5/Rango/Settings/Template.html +23 -0
- data/doc/0.0.5/Rango/SimpleTemplate.html +187 -0
- data/doc/0.0.5/Rango/StrategyMixin.html +261 -0
- data/doc/0.0.5/Rango/Tasks.html +219 -0
- data/doc/0.0.5/Rango/Template.html +95 -0
- data/doc/0.0.5/Rango/Template/Adapter.html +90 -0
- data/doc/0.0.5/Rango/Templates.html +116 -0
- data/doc/0.0.5/Rango/Templates/Adapter.html +128 -0
- data/doc/0.0.5/Rango/Templates/Template.html +636 -0
- data/doc/0.0.5/Rango/Templates/TemplateHelpers.html +328 -0
- data/doc/0.0.5/RangoThor.html +205 -0
- data/doc/0.0.5/String.html +307 -0
- data/doc/0.0.5/Time.html +193 -0
- data/doc/0.0.5/TimeDSL.html +601 -0
- data/doc/0.0.5/all-methods.html +2092 -0
- data/doc/0.0.5/all-namespaces.html +126 -0
- data/doc/0.0.5/app.js +18 -0
- data/doc/0.0.5/index.html +18 -0
- data/doc/0.0.5/jquery.js +11 -0
- data/doc/0.0.5/readme.html +36 -0
- data/doc/0.0.5/style.css +68 -0
- data/doc/0.0.5/syntax_highlight.css +21 -0
- data/doc/head/Array.html +354 -0
- data/doc/head/AttributeMixin.html +697 -0
- data/doc/head/Class.html +102 -0
- data/doc/head/ColoredString.html +476 -0
- data/doc/head/Enumerable.html +256 -0
- data/doc/head/File.html +909 -0
- data/doc/head/Hash.html +1586 -0
- data/doc/head/Kernel.html +956 -0
- data/doc/head/OS.html +740 -0
- data/doc/head/Object.html +466 -0
- data/doc/head/ObjectSpace.html +184 -0
- data/doc/head/Path.html +2499 -0
- data/doc/head/Range.html +190 -0
- data/doc/head/Rango.html +379 -0
- data/doc/head/Rango/ApplicationMixin.html +396 -0
- data/doc/head/Rango/Bundling.html +23 -0
- data/doc/head/Rango/Bundling/RequireStrategy.html +283 -0
- data/doc/head/Rango/Bundling/Strategy.html +703 -0
- data/doc/head/Rango/CLI.html +23 -0
- data/doc/head/Rango/CLI/Generator.html +762 -0
- data/doc/head/Rango/CLI/Templater.html +258 -0
- data/doc/head/Rango/CallableStrategy.html +300 -0
- data/doc/head/Rango/Chainable.html +181 -0
- data/doc/head/Rango/Configurable.html +199 -0
- data/doc/head/Rango/Controller.html +962 -0
- data/doc/head/Rango/ControllerMixin.html +860 -0
- data/doc/head/Rango/ControllerStrategy.html +264 -0
- data/doc/head/Rango/DependencyStrategy.html +116 -0
- data/doc/head/Rango/Dispatcher.html +305 -0
- data/doc/head/Rango/Form.html +162 -0
- data/doc/head/Rango/GemDependencyStrategy.html +210 -0
- data/doc/head/Rango/Generator.html +93 -0
- data/doc/head/Rango/GenericViews.html +128 -0
- data/doc/head/Rango/GitDependencyStrategy.html +224 -0
- data/doc/head/Rango/GithubDependencyStrategy.html +118 -0
- data/doc/head/Rango/Handler.html +474 -0
- data/doc/head/Rango/Helpers.html +1335 -0
- data/doc/head/Rango/Hookable.html +202 -0
- data/doc/head/Rango/ImportMixin.html +755 -0
- data/doc/head/Rango/Logger.html +920 -0
- data/doc/head/Rango/Mini.html +117 -0
- data/doc/head/Rango/ModelForm.html +42 -0
- data/doc/head/Rango/Project.html +516 -0
- data/doc/head/Rango/RenderMixin.html +23 -0
- data/doc/head/Rango/Request.html +1177 -0
- data/doc/head/Rango/Route.html +751 -0
- data/doc/head/Rango/Router.html +42 -0
- data/doc/head/Rango/Router/Dispatcher.html +311 -0
- data/doc/head/Rango/RouterStrategy.html +258 -0
- data/doc/head/Rango/Session.html +23 -0
- data/doc/head/Rango/Settings.html +23 -0
- data/doc/head/Rango/Settings/Erubis.html +23 -0
- data/doc/head/Rango/Settings/Framework.html +254 -0
- data/doc/head/Rango/Settings/Haml.html +23 -0
- data/doc/head/Rango/Settings/Template.html +23 -0
- data/doc/head/Rango/SimpleTemplate.html +187 -0
- data/doc/head/Rango/StrategyMixin.html +261 -0
- data/doc/head/Rango/Tasks.html +219 -0
- data/doc/head/Rango/Template.html +95 -0
- data/doc/head/Rango/Template/Adapter.html +90 -0
- data/doc/head/Rango/Templates.html +116 -0
- data/doc/head/Rango/Templates/Adapter.html +128 -0
- data/doc/head/Rango/Templates/Template.html +636 -0
- data/doc/head/Rango/Templates/TemplateHelpers.html +328 -0
- data/doc/head/RangoThor.html +205 -0
- data/doc/head/String.html +307 -0
- data/doc/head/Time.html +193 -0
- data/doc/head/TimeDSL.html +601 -0
- data/doc/head/all-methods.html +2092 -0
- data/doc/head/all-namespaces.html +126 -0
- data/doc/head/app.js +18 -0
- data/doc/head/index.html +18 -0
- data/doc/head/jquery.js +11 -0
- data/doc/head/readme.html +36 -0
- data/doc/head/style.css +68 -0
- data/doc/head/syntax_highlight.css +21 -0
- data/doc/versions/0.0.1/Rango.html +1025 -0
- data/doc/versions/0.0.1/Rango/CallableStrategy.html +166 -0
- data/doc/versions/0.0.1/Rango/ControllerStrategy.html +180 -0
- data/doc/versions/0.0.1/Rango/Route.html +340 -0
- data/doc/versions/0.0.1/Rango/Router.html +502 -0
- data/doc/versions/0.0.1/Rango/RouterStrategy.html +94 -0
- data/doc/versions/0.0.1/Rango/Template.html +28 -0
- data/doc/versions/0.0.1/Rango/Template/Adapter.html +90 -0
- data/doc/versions/0.0.1/all-methods.html +228 -0
- data/doc/versions/0.0.1/all-namespaces.html +36 -0
- data/doc/versions/0.0.1/app.js +18 -0
- data/doc/versions/0.0.1/index.html +18 -0
- data/doc/versions/0.0.1/jquery.js +11 -0
- data/doc/versions/0.0.1/readme.html +137 -0
- data/doc/versions/0.0.1/style.css +68 -0
- data/doc/versions/0.0.1/syntax_highlight.css +21 -0
- data/lib/rango/contrib/pagination.rb +2 -1
- data/lib/rango/contrib/pagination/_pagination.html.haml +4 -4
- data/lib/rango/contrib/pagination/helpers.rb +0 -10
- data/lib/rango/gv.rb +0 -3
- data/lib/rango/helpers/merb-helpers/form/builder.rb +1 -0
- data/lib/rango/mixins/render.rb +0 -3
- data/lib/rango/orm/tasks/{datamapper.rake → datamapper.thor} +16 -9
- data/lib/rango/orm/tasks/{sequel.rake → sequel.thor} +0 -0
- data/lib/rango/rango.rb +4 -17
- data/lib/rango/router.rb +0 -9
- data/lib/rango/router/adapters/usher.rb +1 -1
- data/lib/rango/settings/erubis.rb +0 -2
- data/lib/rango/settings/haml.rb +0 -6
- data/lib/rango/settings/template.rb +1 -3
- data/lib/rango/templates/adapter.rb +1 -1
- data/lib/rango/templates/erubis.rb +2 -2
- data/lib/rango/templates/template.rb +1 -3
- data/lib/rango/templates/templates.txt +1 -1
- data/lib/rango/{utils.rb → testing.rb} +1 -1
- data/rango-0.0.6.pre.gem +0 -0
- data/rango.gemspec +1 -1
- data/rango.pre.gemspec +48 -0
- data/stubs/app/content/init.rb.rbt +0 -3
- data/stubs/app/content/models.rb.rbt +1 -9
- data/stubs/app/content/views.rb.rbt +4 -13
- data/stubs/app/setup.rb +3 -4
- data/stubs/project/content/{Gemfile.rbt → Gemfile} +4 -55
- data/stubs/project/content/Rakefile +9 -0
- data/stubs/project/content/config.ru.rbt +5 -33
- data/stubs/project/content/init.rb.rbt +3 -29
- data/stubs/project/content/spec/spec_helper.rb +6 -17
- data/stubs/project/content/templates/base.html.haml.rbt +22 -9
- data/stubs/project/postprocess.rb +1 -7
- data/stubs/project/setup.rb +1 -4
- data/vendor/cli/Rakefile +1 -19
- data/vendor/media-path/Rakefile +1 -19
- data/vendor/rack/Rakefile +2 -1
- data/vendor/rack/lib/rack.rb +1 -0
- data/vendor/rack/lib/rack/auth/openid.rb +487 -0
- data/vendor/rack/test/spec_rack_auth_openid.rb +84 -0
- data/vendor/rubyexts/Rakefile +1 -19
- data/vendor/rubyexts/lib/rubyexts/kernel.rb +1 -1
- data/vendor/simple-templater/lib/simple-templater/helpers.rb +1 -1
- metadata +486 -16
- data/lib/rango/router/adapters/rack_mount.rb +0 -17
- data/lib/rango/tasks/spec.rake +0 -7
- data/stubs/project/content/Rakefile.rbt +0 -12
- data/stubs/project/content/spec/%name%/init_spec.rb.rbt +0 -7
- data/stubs/project/content/spec/%name%/models_spec.rb.rbt +0 -10
- data/stubs/project/content/spec/%name%/views_spec.rb.rbt +0 -22
- data/stubs/project/content/spec/spec.opts +0 -5
- data/stubs/project/content/templates/index.html.haml +0 -24
@@ -0,0 +1,474 @@
|
|
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: Rango::Handler</title>
|
12
|
+
</head>
|
13
|
+
<body>
|
14
|
+
<div id="content">
|
15
|
+
<div class="section class Rango_Handler">
|
16
|
+
<h1 class="title">Class: Rango::Handler</h1>
|
17
|
+
<div class="section mixins">
|
18
|
+
<h1>Included Modules</h1>
|
19
|
+
<p>Rango::HttpExceptions</p>
|
20
|
+
</div><div class="section attributes">
|
21
|
+
<h1>Attributes</h1>
|
22
|
+
|
23
|
+
|
24
|
+
<div class="instance">
|
25
|
+
<h2>Instance Attributes</h2>
|
26
|
+
<table>
|
27
|
+
|
28
|
+
<tr>
|
29
|
+
<th class="name">body</td>
|
30
|
+
<td class="readwrite">
|
31
|
+
[R<span id='body%3D-instance_method'>W</span>]
|
32
|
+
</td>
|
33
|
+
<td class="visibility">
|
34
|
+
public
|
35
|
+
</td>
|
36
|
+
<td class="docstring">
|
37
|
+
|
38
|
+
|
39
|
+
</td>
|
40
|
+
</tr>
|
41
|
+
|
42
|
+
<tr>
|
43
|
+
<th class="name">headers</td>
|
44
|
+
<td class="readwrite">
|
45
|
+
[<span id='headers-instance_method'>R</span><span id='headers%3D-instance_method'>W</span>]
|
46
|
+
</td>
|
47
|
+
<td class="visibility">
|
48
|
+
public
|
49
|
+
</td>
|
50
|
+
<td class="docstring">
|
51
|
+
|
52
|
+
|
53
|
+
<p class='returns'>
|
54
|
+
Returns:
|
55
|
+
<span class='return_types'>
|
56
|
+
<tt>Hash[String =>String]</tt>
|
57
|
+
</span>
|
58
|
+
</p>
|
59
|
+
|
60
|
+
</td>
|
61
|
+
</tr>
|
62
|
+
|
63
|
+
<tr>
|
64
|
+
<th class="name">status</td>
|
65
|
+
<td class="readwrite">
|
66
|
+
[<span id='status-instance_method'>R</span><span id='status%3D-instance_method'>W</span>]
|
67
|
+
</td>
|
68
|
+
<td class="visibility">
|
69
|
+
public
|
70
|
+
</td>
|
71
|
+
<td class="docstring">
|
72
|
+
|
73
|
+
|
74
|
+
<p class='returns'>
|
75
|
+
Returns:
|
76
|
+
<span class='return_types'>
|
77
|
+
<tt><a href="../String.html" title="String">String</a></tt>
|
78
|
+
</span>
|
79
|
+
</p>
|
80
|
+
|
81
|
+
</td>
|
82
|
+
</tr>
|
83
|
+
|
84
|
+
</table>
|
85
|
+
</div>
|
86
|
+
|
87
|
+
</div><div class="section constants">
|
88
|
+
|
89
|
+
</div><div class="section constructor">
|
90
|
+
<h1>Constructor Summary</h1>
|
91
|
+
<div id="initialize-instance_method" class="section method">
|
92
|
+
<div class="details_title">
|
93
|
+
<div class='section methodsignature'>
|
94
|
+
<tt class='def'>
|
95
|
+
<span class='visibility'>public</span>
|
96
|
+
<span class='return_types'><tt>type</tt></span>
|
97
|
+
<span class='name'>initialize</span><span class='args'>(status = "200")</span>
|
98
|
+
<span class='block'></span>
|
99
|
+
</tt>
|
100
|
+
</div>
|
101
|
+
|
102
|
+
</div><div class="section tags">
|
103
|
+
<h2>Meta Tags</h2>
|
104
|
+
<div class="param">
|
105
|
+
<h3>Parameters:</h3>
|
106
|
+
<dl>
|
107
|
+
|
108
|
+
|
109
|
+
<dt>
|
110
|
+
<span class='type'>[<tt>#to_s</tt>, <tt>*default=200</tt>]</span>
|
111
|
+
<span class='name'>status</span>
|
112
|
+
|
113
|
+
<em class="default">(defaults to: <tt>"200"</tt>)</em>
|
114
|
+
|
115
|
+
</dt>
|
116
|
+
<dd>
|
117
|
+
<span class='desc'><p>
|
118
|
+
HTTP status.
|
119
|
+
</p>
|
120
|
+
</span>
|
121
|
+
</dd>
|
122
|
+
|
123
|
+
|
124
|
+
</dl>
|
125
|
+
</div><div class="return">
|
126
|
+
<h3>Returns:</h3>
|
127
|
+
<dl>
|
128
|
+
|
129
|
+
<dt>
|
130
|
+
|
131
|
+
<span class='type'>[<tt>type</tt>]</span>
|
132
|
+
|
133
|
+
|
134
|
+
<span class='name'></span>
|
135
|
+
|
136
|
+
|
137
|
+
</dt>
|
138
|
+
<dd>
|
139
|
+
<span class='desc'><p>
|
140
|
+
explanation
|
141
|
+
</p>
|
142
|
+
</span>
|
143
|
+
</dd>
|
144
|
+
|
145
|
+
</dl>
|
146
|
+
</div>
|
147
|
+
<div class="since">
|
148
|
+
<h3>Since:</h3>
|
149
|
+
<dl>
|
150
|
+
|
151
|
+
<dt>
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
</dt>
|
156
|
+
<dd>
|
157
|
+
<span class='desc'><p>
|
158
|
+
0.0.1
|
159
|
+
</p>
|
160
|
+
</span>
|
161
|
+
</dd>
|
162
|
+
|
163
|
+
</dl>
|
164
|
+
</div>
|
165
|
+
|
166
|
+
</div><div class="section source">
|
167
|
+
<span>[<a class="source_link" href="#">View source</a>]</span>
|
168
|
+
<div class="source_code">
|
169
|
+
<table>
|
170
|
+
<tr>
|
171
|
+
<td>
|
172
|
+
<pre class="lines">
|
173
|
+
|
174
|
+
|
175
|
+
23
|
176
|
+
24
|
177
|
+
25
|
178
|
+
26
|
179
|
+
27</pre>
|
180
|
+
</td>
|
181
|
+
<td>
|
182
|
+
<pre class="code"><span class="info file"># File 'lib/rango/rack/handler.rb', line 23</span>
|
183
|
+
|
184
|
+
<span class='def def kw'>def</span> <span class='initialize identifier id'>initialize</span><span class='lparen token'>(</span><span class='status identifier id'>status</span> <span class='assign token'>=</span> <span class='string val'>"200"</span><span class='rparen token'>)</span>
|
185
|
+
<span class='@status ivar id'>@status</span> <span class='assign token'>=</span> <span class='status identifier id'>status</span><span class='dot token'>.</span><span class='to_s identifier id'>to_s</span>
|
186
|
+
<span class='@headers ivar id'>@headers</span> <span class='assign token'>=</span> <span class='lbrace token'>{</span><span class='string val'>'Content-Type'</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='string val'>'text/html'</span><span class='rbrace token'>}</span>
|
187
|
+
<span class='@body ivar id'>@body</span> <span class='assign token'>=</span> <span class='lbrack token'>[</span><span class='string val'>"<h1>TODO</h1>"</span><span class='comma token'>,</span> <span class='string val'>"<p>Rewrite in subclasses.</p>"</span><span class='rbrack token'>]</span>
|
188
|
+
<span class='end end kw'>end</span>
|
189
|
+
</pre>
|
190
|
+
</td>
|
191
|
+
</tr>
|
192
|
+
</table>
|
193
|
+
</div>
|
194
|
+
</div>
|
195
|
+
</div>
|
196
|
+
</div> <div class="section visibilitygroup public">
|
197
|
+
<h1>Public Visibility</h1>
|
198
|
+
<div class="section methodsummary instance public">
|
199
|
+
<h1>Public Instance Method Summary</h1>
|
200
|
+
<table class="summary">
|
201
|
+
|
202
|
+
<tr>
|
203
|
+
<th class="signature">
|
204
|
+
<span class='name'><a href="#body-instance_method" title="#body">#body</a></span><span class='args'></span>
|
205
|
+
<span class='block'></span>
|
206
|
+
|
207
|
+
</th>
|
208
|
+
<td class="docstring">
|
209
|
+
|
210
|
+
|
211
|
+
<p class='returns'>
|
212
|
+
Returns:
|
213
|
+
<span class='return_types'>
|
214
|
+
<tt>#each</tt>
|
215
|
+
</span>
|
216
|
+
</p>
|
217
|
+
|
218
|
+
</td>
|
219
|
+
</tr>
|
220
|
+
|
221
|
+
<tr>
|
222
|
+
<th class="signature">
|
223
|
+
<span class='name'><a href="#call-instance_method" title="#call">#call</a></span><span class='args'>(env)</span>
|
224
|
+
<span class='block'></span>
|
225
|
+
|
226
|
+
</th>
|
227
|
+
<td class="docstring">
|
228
|
+
|
229
|
+
|
230
|
+
<p class='returns'>
|
231
|
+
Returns:
|
232
|
+
<span class='return_types'>
|
233
|
+
<tt>Array[String:status]</tt>
|
234
|
+
</span>
|
235
|
+
</p>
|
236
|
+
|
237
|
+
</td>
|
238
|
+
</tr>
|
239
|
+
|
240
|
+
</table>
|
241
|
+
</div>
|
242
|
+
<div class="section methoddetails instance public">
|
243
|
+
<h1>Public Instance Method Details</h1>
|
244
|
+
|
245
|
+
<div class="method">
|
246
|
+
<div class="method_header">
|
247
|
+
<h3>body</h3>
|
248
|
+
</div><div id="body-instance_method" class="section method">
|
249
|
+
<div class="details_title">
|
250
|
+
<div class='section methodsignature'>
|
251
|
+
<tt class='def'>
|
252
|
+
<span class='visibility'>public</span>
|
253
|
+
<span class='return_types'><tt>#each</tt></span>
|
254
|
+
<span class='name'>body</span><span class='args'></span>
|
255
|
+
<span class='block'></span>
|
256
|
+
</tt>
|
257
|
+
</div>
|
258
|
+
|
259
|
+
</div><div class="section tags">
|
260
|
+
<h2>Meta Tags</h2>
|
261
|
+
<div class="param">
|
262
|
+
<h3>Parameters:</h3>
|
263
|
+
<dl>
|
264
|
+
|
265
|
+
</dl>
|
266
|
+
</div><div class="return">
|
267
|
+
<h3>Returns:</h3>
|
268
|
+
<dl>
|
269
|
+
|
270
|
+
<dt>
|
271
|
+
|
272
|
+
<span class='type'>[<tt>#each</tt>]</span>
|
273
|
+
|
274
|
+
|
275
|
+
<span class='name'></span>
|
276
|
+
|
277
|
+
|
278
|
+
</dt>
|
279
|
+
<dd>
|
280
|
+
<span class='desc'><p>
|
281
|
+
Response body responding to <tt>#each</tt>. If <tt>@body</tt> is <tt>String</tt>,
|
282
|
+
then <tt>#body</tt> will be <tt>[String]</tt>.
|
283
|
+
</p>
|
284
|
+
</span>
|
285
|
+
</dd>
|
286
|
+
|
287
|
+
</dl>
|
288
|
+
</div>
|
289
|
+
<div class="since">
|
290
|
+
<h3>Since:</h3>
|
291
|
+
<dl>
|
292
|
+
|
293
|
+
<dt>
|
294
|
+
|
295
|
+
|
296
|
+
|
297
|
+
</dt>
|
298
|
+
<dd>
|
299
|
+
<span class='desc'><p>
|
300
|
+
0.0.1
|
301
|
+
</p>
|
302
|
+
</span>
|
303
|
+
</dd>
|
304
|
+
|
305
|
+
</dl>
|
306
|
+
</div>
|
307
|
+
|
308
|
+
</div><div class="section source">
|
309
|
+
<span>[<a class="source_link" href="#">View source</a>]</span>
|
310
|
+
<div class="source_code">
|
311
|
+
<table>
|
312
|
+
<tr>
|
313
|
+
<td>
|
314
|
+
<pre class="lines">
|
315
|
+
|
316
|
+
|
317
|
+
31
|
318
|
+
32
|
319
|
+
33
|
320
|
+
34
|
321
|
+
35
|
322
|
+
36
|
323
|
+
37
|
324
|
+
38</pre>
|
325
|
+
</td>
|
326
|
+
<td>
|
327
|
+
<pre class="code"><span class="info file"># File 'lib/rango/rack/handler.rb', line 31</span>
|
328
|
+
|
329
|
+
<span class='def def kw'>def</span> <span class='body identifier id'>body</span>
|
330
|
+
<span class='if if kw'>if</span> <span class='not not kw'>not</span> <span class='@body ivar id'>@body</span><span class='dot token'>.</span><span class='respond_to? fid id'>respond_to?</span><span class='lparen token'>(</span><span class='colon op'>:</span><span class='each identifier id'>each</span><span class='rparen token'>)</span>
|
331
|
+
<span class='@body ivar id'>@body</span> <span class='assign token'>=</span> <span class='lbrack token'>[</span><span class='@body ivar id'>@body</span><span class='rbrack token'>]</span>
|
332
|
+
<span class='elsif elsif kw'>elsif</span> <span class='@body ivar id'>@body</span><span class='dot token'>.</span><span class='nil? fid id'>nil?</span>
|
333
|
+
<span class='@body ivar id'>@body</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> <span class='if if_mod kw'>if</span> <span class='@body ivar id'>@body</span><span class='dot token'>.</span><span class='nil? fid id'>nil?</span>
|
334
|
+
<span class='end end kw'>end</span>
|
335
|
+
<span class='return return kw'>return</span> <span class='@body ivar id'>@body</span>
|
336
|
+
<span class='end end kw'>end</span>
|
337
|
+
</pre>
|
338
|
+
</td>
|
339
|
+
</tr>
|
340
|
+
</table>
|
341
|
+
</div>
|
342
|
+
</div>
|
343
|
+
</div>
|
344
|
+
</div>
|
345
|
+
|
346
|
+
<div class="method">
|
347
|
+
<div class="method_header">
|
348
|
+
<h3>call</h3>
|
349
|
+
</div><div id="call-instance_method" class="section method">
|
350
|
+
<div class="details_title">
|
351
|
+
<div class='section methodsignature'>
|
352
|
+
<tt class='def'>
|
353
|
+
<span class='visibility'>public</span>
|
354
|
+
<span class='return_types'><tt>Array[String:status]</tt></span>
|
355
|
+
<span class='name'>call</span><span class='args'>(env)</span>
|
356
|
+
<span class='block'></span>
|
357
|
+
</tt>
|
358
|
+
</div>
|
359
|
+
|
360
|
+
</div><div class="section tags">
|
361
|
+
<h2>Meta Tags</h2>
|
362
|
+
<div class="param">
|
363
|
+
<h3>Parameters:</h3>
|
364
|
+
<dl>
|
365
|
+
|
366
|
+
|
367
|
+
<dt>
|
368
|
+
<span class='type'>[<tt><a href="../Hash.html" title="Hash">Hash</a></tt>]</span>
|
369
|
+
<span class='name'>env</span>
|
370
|
+
|
371
|
+
</dt>
|
372
|
+
<dd>
|
373
|
+
<span class='desc'><p>
|
374
|
+
Rack request environment.
|
375
|
+
</p>
|
376
|
+
</span>
|
377
|
+
</dd>
|
378
|
+
|
379
|
+
|
380
|
+
</dl>
|
381
|
+
</div><div class="return">
|
382
|
+
<h3>Returns:</h3>
|
383
|
+
<dl>
|
384
|
+
|
385
|
+
<dt>
|
386
|
+
|
387
|
+
<span class='type'>[<tt>Array[String:status]</tt>, <tt>Hash:headers[String =>String]</tt>, <tt>#each:body</tt>]</span>
|
388
|
+
|
389
|
+
|
390
|
+
<span class='name'></span>
|
391
|
+
|
392
|
+
|
393
|
+
</dt>
|
394
|
+
<dd>
|
395
|
+
<span class='desc'><p>
|
396
|
+
This array will be returned to Rack.
|
397
|
+
</p>
|
398
|
+
</span>
|
399
|
+
</dd>
|
400
|
+
|
401
|
+
</dl>
|
402
|
+
</div>
|
403
|
+
<div class="since">
|
404
|
+
<h3>Since:</h3>
|
405
|
+
<dl>
|
406
|
+
|
407
|
+
<dt>
|
408
|
+
|
409
|
+
|
410
|
+
|
411
|
+
</dt>
|
412
|
+
<dd>
|
413
|
+
<span class='desc'><p>
|
414
|
+
0.0.1
|
415
|
+
</p>
|
416
|
+
</span>
|
417
|
+
</dd>
|
418
|
+
|
419
|
+
</dl>
|
420
|
+
</div>
|
421
|
+
|
422
|
+
</div><div class="section source">
|
423
|
+
<span>[<a class="source_link" href="#">View source</a>]</span>
|
424
|
+
<div class="source_code">
|
425
|
+
<table>
|
426
|
+
<tr>
|
427
|
+
<td>
|
428
|
+
<pre class="lines">
|
429
|
+
|
430
|
+
|
431
|
+
43
|
432
|
+
44
|
433
|
+
45
|
434
|
+
46
|
435
|
+
47
|
436
|
+
48
|
437
|
+
49
|
438
|
+
50
|
439
|
+
51
|
440
|
+
52
|
441
|
+
53
|
442
|
+
54</pre>
|
443
|
+
</td>
|
444
|
+
<td>
|
445
|
+
<pre class="code"><span class="info file"># File 'lib/rango/rack/handler.rb', line 43</span>
|
446
|
+
|
447
|
+
<span class='def def kw'>def</span> <span class='call identifier id'>call</span><span class='lparen token'>(</span><span class='env identifier id'>env</span><span class='rparen token'>)</span>
|
448
|
+
<span class='return return kw'>return</span> <span class='lbrack token'>[</span><span class='self self kw'>self</span><span class='dot token'>.</span><span class='status identifier id'>status</span><span class='comma token'>,</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='headers identifier id'>headers</span><span class='comma token'>,</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='body identifier id'>body</span><span class='rbrack token'>]</span>
|
449
|
+
<span class='rescue rescue kw'>rescue</span> <span class='Rango constant id'>Rango</span><span class='colon2 op'>::</span><span class='HttpExceptions constant id'>HttpExceptions</span><span class='colon2 op'>::</span><span class='HttpError constant id'>HttpError</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='exception identifier id'>exception</span>
|
450
|
+
<span class='return return kw'>return</span> <span class='lbrack token'>[</span><span class='exception identifier id'>exception</span><span class='dot token'>.</span><span class='status identifier id'>status</span><span class='comma token'>,</span> <span class='exception identifier id'>exception</span><span class='dot token'>.</span><span class='headers identifier id'>headers</span><span class='comma token'>,</span> <span class='exception identifier id'>exception</span><span class='dot token'>.</span><span class='body identifier id'>body</span><span class='rbrack token'>]</span>
|
451
|
+
<span class='rescue rescue kw'>rescue</span> <span class='Exception constant id'>Exception</span> <span class='assign token'>=</span><span class='gt op'>></span> <span class='exception identifier id'>exception</span>
|
452
|
+
<span class='Project constant id'>Project</span><span class='dot token'>.</span><span class='logger identifier id'>logger</span><span class='dot token'>.</span><span class='exception identifier id'>exception</span><span class='lparen token'>(</span><span class='exception identifier id'>exception</span><span class='rparen token'>)</span>
|
453
|
+
<span class='@body ivar id'>@body</span> <span class='assign token'>=</span> <span class='lbrack token'>[</span><span class='dstring node'>"<h1>#{exception.message}</h1>"</span><span class='rbrack token'>]</span>
|
454
|
+
<span class='exception identifier id'>exception</span><span class='dot token'>.</span><span class='backtrace identifier id'>backtrace</span><span class='dot token'>.</span><span class='each identifier id'>each</span> <span class='do do kw'>do</span> <span class='bitor op'>|</span><span class='trace identifier id'>trace</span><span class='bitor op'>|</span>
|
455
|
+
<span class='@body ivar id'>@body</span><span class='dot token'>.</span><span class='push identifier id'>push</span><span class='lparen token'>(</span><span class='dstring node'>"<li>#{trace}</li>"</span><span class='rparen token'>)</span>
|
456
|
+
<span class='end end kw'>end</span>
|
457
|
+
<span class='return return kw'>return</span> <span class='lbrack token'>[</span><span class='string val'>"500"</span><span class='comma token'>,</span> <span class='headers identifier id'>headers</span><span class='comma token'>,</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='body identifier id'>body</span><span class='rbrack token'>]</span>
|
458
|
+
<span class='end end kw'>end</span>
|
459
|
+
</pre>
|
460
|
+
</td>
|
461
|
+
</tr>
|
462
|
+
</table>
|
463
|
+
</div>
|
464
|
+
</div>
|
465
|
+
</div>
|
466
|
+
</div>
|
467
|
+
|
468
|
+
</div>
|
469
|
+
</div>
|
470
|
+
|
471
|
+
</div>
|
472
|
+
</div>
|
473
|
+
</body>
|
474
|
+
</html>
|