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,256 @@
|
|
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: Enumerable</title>
|
12
|
+
</head>
|
13
|
+
<body>
|
14
|
+
<div id="content">
|
15
|
+
<div class="section module Enumerable">
|
16
|
+
<h1 class="title">Module: Enumerable</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 instance public">
|
27
|
+
<h1>Public Instance Method Summary</h1>
|
28
|
+
<table class="summary">
|
29
|
+
|
30
|
+
<tr>
|
31
|
+
<th class="signature">
|
32
|
+
<span class='name'><a href="#none%3F-instance_method" title="#none?">#none?</a></span><span class='args'>(&block)</span>
|
33
|
+
<span class='block'>{|Each, Each| ... }</span>
|
34
|
+
|
35
|
+
</th>
|
36
|
+
<td class="docstring">
|
37
|
+
<p>
|
38
|
+
Enumerable#none? is the logical opposite of the builtin method
|
39
|
+
Enumerable#any?.
|
40
|
+
</p>
|
41
|
+
|
42
|
+
|
43
|
+
<p class='returns'>
|
44
|
+
Returns:
|
45
|
+
<span class='return_types'>
|
46
|
+
<tt><a href="Array.html" title="Array">Array</a><<a href="String.html" title="String">String</a>></tt>
|
47
|
+
</span>
|
48
|
+
</p>
|
49
|
+
|
50
|
+
</td>
|
51
|
+
</tr>
|
52
|
+
|
53
|
+
</table>
|
54
|
+
</div>
|
55
|
+
<div class="section methoddetails instance public">
|
56
|
+
<h1>Public Instance Method Details</h1>
|
57
|
+
|
58
|
+
<div class="method">
|
59
|
+
<div class="method_header">
|
60
|
+
<h3>none?</h3>
|
61
|
+
</div><div id="none%3F-instance_method" class="section method">
|
62
|
+
<div class="details_title">
|
63
|
+
<div class='section methodsignature'>
|
64
|
+
<tt class='def'>
|
65
|
+
<span class='visibility'>public</span>
|
66
|
+
<span class='return_types'><tt><a href="Array.html" title="Array">Array</a><<a href="String.html" title="String">String</a>></tt></span>
|
67
|
+
<span class='name'>none?</span><span class='args'>(&block)</span>
|
68
|
+
<span class='block'>{|Each, Each| ... }</span>
|
69
|
+
</tt>
|
70
|
+
</div>
|
71
|
+
|
72
|
+
</div><div class="section docstring">
|
73
|
+
<p>
|
74
|
+
Enumerable#none? is the logical opposite of the builtin method
|
75
|
+
Enumerable#any?. It returns <tt>true</tt> if and only if <em>none</em> of
|
76
|
+
the elements in the collection satisfy the predicate.
|
77
|
+
</p>
|
78
|
+
<p>
|
79
|
+
If no predicate is provided, Enumerable#none? returns <tt>true</tt> if and
|
80
|
+
only if <em>none</em> of the elements have a true value (i.e. not
|
81
|
+
<tt>nil</tt> or <tt>false</tt>).
|
82
|
+
</p>
|
83
|
+
|
84
|
+
</div><div class="section tags">
|
85
|
+
<h2>Meta Tags</h2>
|
86
|
+
<div class="param">
|
87
|
+
<h3>Parameters:</h3>
|
88
|
+
<dl>
|
89
|
+
|
90
|
+
</dl>
|
91
|
+
</div><div class="yieldparam">
|
92
|
+
<h3>Yield Parameters:</h3>
|
93
|
+
<dl>
|
94
|
+
|
95
|
+
<dt>
|
96
|
+
|
97
|
+
<span class='type'>[<tt>item</tt>]</span>
|
98
|
+
|
99
|
+
|
100
|
+
<span class='name'>Each</span>
|
101
|
+
|
102
|
+
|
103
|
+
</dt>
|
104
|
+
<dd>
|
105
|
+
<span class='desc'><p>
|
106
|
+
item of array-like collection
|
107
|
+
</p>
|
108
|
+
</span>
|
109
|
+
</dd>
|
110
|
+
|
111
|
+
<dt>
|
112
|
+
|
113
|
+
<span class='type'>[<tt>key</tt>, <tt>value</tt>]</span>
|
114
|
+
|
115
|
+
|
116
|
+
<span class='name'>Each</span>
|
117
|
+
|
118
|
+
|
119
|
+
</dt>
|
120
|
+
<dd>
|
121
|
+
<span class='desc'><p>
|
122
|
+
item of hash-like collection
|
123
|
+
</p>
|
124
|
+
</span>
|
125
|
+
</dd>
|
126
|
+
|
127
|
+
</dl>
|
128
|
+
</div>
|
129
|
+
<div class="return">
|
130
|
+
<h3>Returns:</h3>
|
131
|
+
<dl>
|
132
|
+
|
133
|
+
<dt>
|
134
|
+
|
135
|
+
<span class='type'>[<tt><a href="Array.html" title="Array">Array</a><<a href="String.html" title="String">String</a>></tt>]</span>
|
136
|
+
|
137
|
+
|
138
|
+
<span class='name'></span>
|
139
|
+
|
140
|
+
|
141
|
+
</dt>
|
142
|
+
<dd>
|
143
|
+
<span class='desc'><p>
|
144
|
+
List of successfully loaded files
|
145
|
+
</p>
|
146
|
+
</span>
|
147
|
+
</dd>
|
148
|
+
|
149
|
+
</dl>
|
150
|
+
</div>
|
151
|
+
<div class="raise">
|
152
|
+
<h3>Raises:</h3>
|
153
|
+
<dl>
|
154
|
+
|
155
|
+
<dt>
|
156
|
+
|
157
|
+
<span class='type'>[<tt>LoadError</tt>]</span>
|
158
|
+
|
159
|
+
|
160
|
+
|
161
|
+
</dt>
|
162
|
+
<dd>
|
163
|
+
<span class='desc'><p>
|
164
|
+
If base directory doesn’t exist
|
165
|
+
</p>
|
166
|
+
</span>
|
167
|
+
</dd>
|
168
|
+
|
169
|
+
<dt>
|
170
|
+
|
171
|
+
<span class='type'>[<tt>ArgumentError</tt>]</span>
|
172
|
+
|
173
|
+
|
174
|
+
|
175
|
+
</dt>
|
176
|
+
<dd>
|
177
|
+
<span class='desc'><p>
|
178
|
+
If first argument isn’t a glob
|
179
|
+
</p>
|
180
|
+
</span>
|
181
|
+
</dd>
|
182
|
+
|
183
|
+
</dl>
|
184
|
+
</div>
|
185
|
+
<div class="author">
|
186
|
+
<h3>Author:</h3>
|
187
|
+
<dl>
|
188
|
+
|
189
|
+
<dt>
|
190
|
+
|
191
|
+
|
192
|
+
|
193
|
+
</dt>
|
194
|
+
<dd>
|
195
|
+
<span class='desc'><p>
|
196
|
+
Botanicus
|
197
|
+
</p>
|
198
|
+
</span>
|
199
|
+
</dd>
|
200
|
+
|
201
|
+
</dl>
|
202
|
+
</div>
|
203
|
+
<div class="since">
|
204
|
+
<h3>Since:</h3>
|
205
|
+
<dl>
|
206
|
+
|
207
|
+
<dt>
|
208
|
+
|
209
|
+
|
210
|
+
|
211
|
+
</dt>
|
212
|
+
<dd>
|
213
|
+
<span class='desc'><p>
|
214
|
+
0.0.3
|
215
|
+
</p>
|
216
|
+
</span>
|
217
|
+
</dd>
|
218
|
+
|
219
|
+
</dl>
|
220
|
+
</div>
|
221
|
+
|
222
|
+
</div><div class="section source">
|
223
|
+
<span>[<a class="source_link" href="#">View source</a>]</span>
|
224
|
+
<div class="source_code">
|
225
|
+
<table>
|
226
|
+
<tr>
|
227
|
+
<td>
|
228
|
+
<pre class="lines">
|
229
|
+
|
230
|
+
|
231
|
+
27
|
232
|
+
28
|
233
|
+
29</pre>
|
234
|
+
</td>
|
235
|
+
<td>
|
236
|
+
<pre class="code"><span class="info file"># File 'lib/rango/ext/enumerable.rb', line 27</span>
|
237
|
+
|
238
|
+
<span class='def def kw'>def</span> <span class='none? fid id'>none?</span><span class='lparen token'>(</span><span class='bitand op'>&</span><span class='block identifier id'>block</span><span class='rparen token'>)</span>
|
239
|
+
<span class='not not kw'>not</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='any? fid id'>any?</span><span class='lparen token'>(</span><span class='bitand op'>&</span><span class='block identifier id'>block</span><span class='rparen token'>)</span>
|
240
|
+
<span class='end end kw'>end</span>
|
241
|
+
</pre>
|
242
|
+
</td>
|
243
|
+
</tr>
|
244
|
+
</table>
|
245
|
+
</div>
|
246
|
+
</div>
|
247
|
+
</div>
|
248
|
+
</div>
|
249
|
+
|
250
|
+
</div>
|
251
|
+
</div>
|
252
|
+
|
253
|
+
</div>
|
254
|
+
</div>
|
255
|
+
</body>
|
256
|
+
</html>
|
data/doc/0.0.4/File.html
ADDED
@@ -0,0 +1,909 @@
|
|
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: File</title>
|
12
|
+
</head>
|
13
|
+
<body>
|
14
|
+
<div id="content">
|
15
|
+
<div class="section class File">
|
16
|
+
<h1 class="title">Class: File</h1>
|
17
|
+
<div class="section inheritance">
|
18
|
+
<ul>
|
19
|
+
<li><a href="Object.html" title="Object">Object</a></li><ul><li>File</li>
|
20
|
+
</ul></ul>
|
21
|
+
</div><div class="section docstring">
|
22
|
+
<p>
|
23
|
+
encoding: utf-8
|
24
|
+
</p>
|
25
|
+
|
26
|
+
</div><div class="section constants">
|
27
|
+
|
28
|
+
</div> <div class="section visibilitygroup public">
|
29
|
+
<h1>Public Visibility</h1>
|
30
|
+
<div class="section methodsummary class public">
|
31
|
+
<h1>Public Class Method Summary</h1>
|
32
|
+
<table class="summary">
|
33
|
+
|
34
|
+
<tr>
|
35
|
+
<th class="signature">
|
36
|
+
<span class='name'><a href="#add-class_method" title="add">add</a></span><span class='args'>(file, *chunks)</span>
|
37
|
+
<span class='block'></span>
|
38
|
+
|
39
|
+
</th>
|
40
|
+
<td class="docstring">
|
41
|
+
<p>
|
42
|
+
Append given chunks to the existing file or create new one.
|
43
|
+
</p>
|
44
|
+
|
45
|
+
|
46
|
+
<p class='returns'>
|
47
|
+
Returns:
|
48
|
+
<span class='return_types'>
|
49
|
+
<tt><a href="String.html" title="String">String</a></tt>
|
50
|
+
</span>
|
51
|
+
</p>
|
52
|
+
|
53
|
+
</td>
|
54
|
+
</tr>
|
55
|
+
|
56
|
+
<tr>
|
57
|
+
<th class="signature">
|
58
|
+
<span class='name'><a href="#append-class_method" title="append">append</a></span><span class='args'>(file, *chunks)</span>
|
59
|
+
<span class='block'></span>
|
60
|
+
|
61
|
+
</th>
|
62
|
+
<td class="docstring">
|
63
|
+
<p>
|
64
|
+
Append given chunks to the existing file or create new one.
|
65
|
+
</p>
|
66
|
+
|
67
|
+
|
68
|
+
<p class='returns'>
|
69
|
+
Returns:
|
70
|
+
<span class='return_types'>
|
71
|
+
<tt><a href="String.html" title="String">String</a></tt>
|
72
|
+
</span>
|
73
|
+
</p>
|
74
|
+
|
75
|
+
</td>
|
76
|
+
</tr>
|
77
|
+
|
78
|
+
<tr>
|
79
|
+
<th class="signature">
|
80
|
+
<span class='name'><a href="#print-class_method" title="print">print</a></span><span class='args'>(file, *chunks)</span>
|
81
|
+
<span class='block'></span>
|
82
|
+
|
83
|
+
</th>
|
84
|
+
<td class="docstring">
|
85
|
+
<p>
|
86
|
+
Create new file and write there given chunks.
|
87
|
+
</p>
|
88
|
+
|
89
|
+
|
90
|
+
<p class='returns'>
|
91
|
+
Returns:
|
92
|
+
<span class='return_types'>
|
93
|
+
<tt><a href="String.html" title="String">String</a></tt>
|
94
|
+
</span>
|
95
|
+
</p>
|
96
|
+
|
97
|
+
</td>
|
98
|
+
</tr>
|
99
|
+
|
100
|
+
<tr>
|
101
|
+
<th class="signature">
|
102
|
+
<span class='name'><a href="#puts-class_method" title="puts">puts</a></span><span class='args'>(file, *chunks)</span>
|
103
|
+
<span class='block'></span>
|
104
|
+
|
105
|
+
</th>
|
106
|
+
<td class="docstring">
|
107
|
+
<p>
|
108
|
+
Create new file and write there given chunks.
|
109
|
+
</p>
|
110
|
+
|
111
|
+
|
112
|
+
<p class='returns'>
|
113
|
+
Returns:
|
114
|
+
<span class='return_types'>
|
115
|
+
<tt><a href="String.html" title="String">String</a></tt>
|
116
|
+
</span>
|
117
|
+
</p>
|
118
|
+
|
119
|
+
</td>
|
120
|
+
</tr>
|
121
|
+
|
122
|
+
<tr>
|
123
|
+
<th class="signature">
|
124
|
+
<span class='name'><a href="#write-class_method" title="write">write</a></span><span class='args'>(method, mode, file, *args)</span>
|
125
|
+
<span class='block'></span>
|
126
|
+
|
127
|
+
</th>
|
128
|
+
<td class="docstring">
|
129
|
+
<p>
|
130
|
+
Write data to file with given method.
|
131
|
+
</p>
|
132
|
+
|
133
|
+
|
134
|
+
<p class='returns'>
|
135
|
+
Returns:
|
136
|
+
<span class='return_types'>
|
137
|
+
<tt><a href="String.html" title="String">String</a></tt>
|
138
|
+
</span>
|
139
|
+
</p>
|
140
|
+
|
141
|
+
</td>
|
142
|
+
</tr>
|
143
|
+
|
144
|
+
</table>
|
145
|
+
</div>
|
146
|
+
<div class="section methodsummary instance public">
|
147
|
+
<div class="inherited">
|
148
|
+
|
149
|
+
<div>
|
150
|
+
<h1>Public Instance Methods Inherited from <a href="Object.html" title="Object">Object</a></h1>
|
151
|
+
<p><span class='name'><a href="Object.html#define_instance_method-instance_method" title="define_instance_method">define_instance_method</a></span>, <span class='name'><a href="Object.html#not_nil%3F-instance_method" title="not_nil?">not_nil?</a></span>, <span class='name'><a href="Object.html#try-instance_method" title="try">try</a></span></p>
|
152
|
+
</div>
|
153
|
+
|
154
|
+
</div>
|
155
|
+
<div class="clear"></div>
|
156
|
+
</div>
|
157
|
+
<div class="section methoddetails class public">
|
158
|
+
<h1>Public Class Method Details</h1>
|
159
|
+
|
160
|
+
<div class="method">
|
161
|
+
<div class="method_header">
|
162
|
+
<h3>add</h3>
|
163
|
+
</div><div id="add-class_method" class="section method">
|
164
|
+
<div class="details_title">
|
165
|
+
<div class='section methodsignature'>
|
166
|
+
<tt class='def'>
|
167
|
+
<span class='visibility'>public</span>
|
168
|
+
<span class='return_types'><tt><a href="String.html" title="String">String</a></tt></span>
|
169
|
+
<span class='name'>add</span><span class='args'>(file, *chunks)</span>
|
170
|
+
<span class='block'></span>
|
171
|
+
</tt>
|
172
|
+
</div>
|
173
|
+
|
174
|
+
</div><div class="section docstring">
|
175
|
+
<p>
|
176
|
+
Append given chunks to the existing file or create new one. It use
|
177
|
+
<tt>IO#print</tt> for write to given file.
|
178
|
+
</p>
|
179
|
+
|
180
|
+
</div><div class="section tags">
|
181
|
+
<h2>Meta Tags</h2>
|
182
|
+
<div class="param">
|
183
|
+
<h3>Parameters:</h3>
|
184
|
+
<dl>
|
185
|
+
|
186
|
+
</dl>
|
187
|
+
</div><div class="return">
|
188
|
+
<h3>Returns:</h3>
|
189
|
+
<dl>
|
190
|
+
|
191
|
+
<dt>
|
192
|
+
|
193
|
+
<span class='type'>[<tt><a href="String.html" title="String">String</a></tt>]</span>
|
194
|
+
|
195
|
+
|
196
|
+
<span class='name'></span>
|
197
|
+
|
198
|
+
|
199
|
+
</dt>
|
200
|
+
<dd>
|
201
|
+
<span class='desc'><p>
|
202
|
+
Expanded path to given file
|
203
|
+
</p>
|
204
|
+
</span>
|
205
|
+
</dd>
|
206
|
+
|
207
|
+
</dl>
|
208
|
+
</div>
|
209
|
+
<div class="raise">
|
210
|
+
<h3>Raises:</h3>
|
211
|
+
<dl>
|
212
|
+
|
213
|
+
<dt>
|
214
|
+
|
215
|
+
<span class='type'>[<tt>Errno::ENOENT</tt>]</span>
|
216
|
+
|
217
|
+
|
218
|
+
|
219
|
+
</dt>
|
220
|
+
<dd>
|
221
|
+
<span class='desc'><p>
|
222
|
+
If parent directory of given file doesn’t exist
|
223
|
+
</p>
|
224
|
+
</span>
|
225
|
+
</dd>
|
226
|
+
|
227
|
+
<dt>
|
228
|
+
|
229
|
+
<span class='type'>[<tt>Errno::EACCES</tt>]</span>
|
230
|
+
|
231
|
+
|
232
|
+
|
233
|
+
</dt>
|
234
|
+
<dd>
|
235
|
+
<span class='desc'><p>
|
236
|
+
If you don’t have permissions to write to given file
|
237
|
+
</p>
|
238
|
+
</span>
|
239
|
+
</dd>
|
240
|
+
|
241
|
+
</dl>
|
242
|
+
</div>
|
243
|
+
<div class="author">
|
244
|
+
<h3>Author:</h3>
|
245
|
+
<dl>
|
246
|
+
|
247
|
+
<dt>
|
248
|
+
|
249
|
+
|
250
|
+
|
251
|
+
</dt>
|
252
|
+
<dd>
|
253
|
+
<span class='desc'><p>
|
254
|
+
Botanicus
|
255
|
+
</p>
|
256
|
+
</span>
|
257
|
+
</dd>
|
258
|
+
|
259
|
+
</dl>
|
260
|
+
</div>
|
261
|
+
<div class="since">
|
262
|
+
<h3>Since:</h3>
|
263
|
+
<dl>
|
264
|
+
|
265
|
+
<dt>
|
266
|
+
|
267
|
+
|
268
|
+
|
269
|
+
</dt>
|
270
|
+
<dd>
|
271
|
+
<span class='desc'><p>
|
272
|
+
0.0.3
|
273
|
+
</p>
|
274
|
+
</span>
|
275
|
+
</dd>
|
276
|
+
|
277
|
+
</dl>
|
278
|
+
</div>
|
279
|
+
|
280
|
+
</div><div class="section source">
|
281
|
+
<span>[<a class="source_link" href="#">View source</a>]</span>
|
282
|
+
<div class="source_code">
|
283
|
+
<table>
|
284
|
+
<tr>
|
285
|
+
<td>
|
286
|
+
<pre class="lines">
|
287
|
+
|
288
|
+
|
289
|
+
28
|
290
|
+
29
|
291
|
+
30</pre>
|
292
|
+
</td>
|
293
|
+
<td>
|
294
|
+
<pre class="code"><span class="info file"># File 'lib/rango/ext/file.rb', line 28</span>
|
295
|
+
|
296
|
+
<span class='def def kw'>def</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='add identifier id'>add</span><span class='lparen token'>(</span><span class='file identifier id'>file</span><span class='comma token'>,</span> <span class='mult op'>*</span><span class='chunks identifier id'>chunks</span><span class='rparen token'>)</span>
|
297
|
+
<span class='self self kw'>self</span><span class='dot token'>.</span><span class='write identifier id'>write</span><span class='lparen token'>(</span><span class='symbol val'>:print</span><span class='comma token'>,</span> <span class='string val'>"a"</span><span class='comma token'>,</span> <span class='file identifier id'>file</span><span class='comma token'>,</span> <span class='mult op'>*</span><span class='chunks identifier id'>chunks</span><span class='rparen token'>)</span>
|
298
|
+
<span class='end end kw'>end</span>
|
299
|
+
</pre>
|
300
|
+
</td>
|
301
|
+
</tr>
|
302
|
+
</table>
|
303
|
+
</div>
|
304
|
+
</div>
|
305
|
+
</div>
|
306
|
+
</div>
|
307
|
+
|
308
|
+
<div class="method">
|
309
|
+
<div class="method_header">
|
310
|
+
<h3>append</h3>
|
311
|
+
</div><div id="append-class_method" class="section method">
|
312
|
+
<div class="details_title">
|
313
|
+
<div class='section methodsignature'>
|
314
|
+
<tt class='def'>
|
315
|
+
<span class='visibility'>public</span>
|
316
|
+
<span class='return_types'><tt><a href="String.html" title="String">String</a></tt></span>
|
317
|
+
<span class='name'>append</span><span class='args'>(file, *chunks)</span>
|
318
|
+
<span class='block'></span>
|
319
|
+
</tt>
|
320
|
+
</div>
|
321
|
+
|
322
|
+
</div><div class="section docstring">
|
323
|
+
<p>
|
324
|
+
Append given chunks to the existing file or create new one. It use
|
325
|
+
<tt>IO#puts</tt> for write to given file.
|
326
|
+
</p>
|
327
|
+
|
328
|
+
</div><div class="section tags">
|
329
|
+
<h2>Meta Tags</h2>
|
330
|
+
<div class="param">
|
331
|
+
<h3>Parameters:</h3>
|
332
|
+
<dl>
|
333
|
+
|
334
|
+
</dl>
|
335
|
+
</div><div class="return">
|
336
|
+
<h3>Returns:</h3>
|
337
|
+
<dl>
|
338
|
+
|
339
|
+
<dt>
|
340
|
+
|
341
|
+
<span class='type'>[<tt><a href="String.html" title="String">String</a></tt>]</span>
|
342
|
+
|
343
|
+
|
344
|
+
<span class='name'></span>
|
345
|
+
|
346
|
+
|
347
|
+
</dt>
|
348
|
+
<dd>
|
349
|
+
<span class='desc'><p>
|
350
|
+
Expanded path to given file
|
351
|
+
</p>
|
352
|
+
</span>
|
353
|
+
</dd>
|
354
|
+
|
355
|
+
</dl>
|
356
|
+
</div>
|
357
|
+
<div class="raise">
|
358
|
+
<h3>Raises:</h3>
|
359
|
+
<dl>
|
360
|
+
|
361
|
+
<dt>
|
362
|
+
|
363
|
+
<span class='type'>[<tt>Errno::ENOENT</tt>]</span>
|
364
|
+
|
365
|
+
|
366
|
+
|
367
|
+
</dt>
|
368
|
+
<dd>
|
369
|
+
<span class='desc'><p>
|
370
|
+
If parent directory of given file doesn’t exist
|
371
|
+
</p>
|
372
|
+
</span>
|
373
|
+
</dd>
|
374
|
+
|
375
|
+
<dt>
|
376
|
+
|
377
|
+
<span class='type'>[<tt>Errno::EACCES</tt>]</span>
|
378
|
+
|
379
|
+
|
380
|
+
|
381
|
+
</dt>
|
382
|
+
<dd>
|
383
|
+
<span class='desc'><p>
|
384
|
+
If you don’t have permissions to write to given file
|
385
|
+
</p>
|
386
|
+
</span>
|
387
|
+
</dd>
|
388
|
+
|
389
|
+
</dl>
|
390
|
+
</div>
|
391
|
+
<div class="author">
|
392
|
+
<h3>Author:</h3>
|
393
|
+
<dl>
|
394
|
+
|
395
|
+
<dt>
|
396
|
+
|
397
|
+
|
398
|
+
|
399
|
+
</dt>
|
400
|
+
<dd>
|
401
|
+
<span class='desc'><p>
|
402
|
+
Botanicus
|
403
|
+
</p>
|
404
|
+
</span>
|
405
|
+
</dd>
|
406
|
+
|
407
|
+
</dl>
|
408
|
+
</div>
|
409
|
+
<div class="since">
|
410
|
+
<h3>Since:</h3>
|
411
|
+
<dl>
|
412
|
+
|
413
|
+
<dt>
|
414
|
+
|
415
|
+
|
416
|
+
|
417
|
+
</dt>
|
418
|
+
<dd>
|
419
|
+
<span class='desc'><p>
|
420
|
+
0.0.3
|
421
|
+
</p>
|
422
|
+
</span>
|
423
|
+
</dd>
|
424
|
+
|
425
|
+
</dl>
|
426
|
+
</div>
|
427
|
+
|
428
|
+
</div><div class="section source">
|
429
|
+
<span>[<a class="source_link" href="#">View source</a>]</span>
|
430
|
+
<div class="source_code">
|
431
|
+
<table>
|
432
|
+
<tr>
|
433
|
+
<td>
|
434
|
+
<pre class="lines">
|
435
|
+
|
436
|
+
|
437
|
+
14
|
438
|
+
15
|
439
|
+
16</pre>
|
440
|
+
</td>
|
441
|
+
<td>
|
442
|
+
<pre class="code"><span class="info file"># File 'lib/rango/ext/file.rb', line 14</span>
|
443
|
+
|
444
|
+
<span class='def def kw'>def</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='append identifier id'>append</span><span class='lparen token'>(</span><span class='file identifier id'>file</span><span class='comma token'>,</span> <span class='mult op'>*</span><span class='chunks identifier id'>chunks</span><span class='rparen token'>)</span>
|
445
|
+
<span class='self self kw'>self</span><span class='dot token'>.</span><span class='write identifier id'>write</span><span class='lparen token'>(</span><span class='symbol val'>:puts</span><span class='comma token'>,</span> <span class='string val'>"a"</span><span class='comma token'>,</span> <span class='file identifier id'>file</span><span class='comma token'>,</span> <span class='mult op'>*</span><span class='chunks identifier id'>chunks</span><span class='rparen token'>)</span>
|
446
|
+
<span class='end end kw'>end</span>
|
447
|
+
</pre>
|
448
|
+
</td>
|
449
|
+
</tr>
|
450
|
+
</table>
|
451
|
+
</div>
|
452
|
+
</div>
|
453
|
+
</div>
|
454
|
+
</div>
|
455
|
+
|
456
|
+
<div class="method">
|
457
|
+
<div class="method_header">
|
458
|
+
<h3>print</h3>
|
459
|
+
</div><div id="print-class_method" class="section method">
|
460
|
+
<div class="details_title">
|
461
|
+
<div class='section methodsignature'>
|
462
|
+
<tt class='def'>
|
463
|
+
<span class='visibility'>public</span>
|
464
|
+
<span class='return_types'><tt><a href="String.html" title="String">String</a></tt></span>
|
465
|
+
<span class='name'>print</span><span class='args'>(file, *chunks)</span>
|
466
|
+
<span class='block'></span>
|
467
|
+
</tt>
|
468
|
+
</div>
|
469
|
+
|
470
|
+
</div><div class="section docstring">
|
471
|
+
<p>
|
472
|
+
Create new file and write there given chunks. It use <tt>IO#print</tt> for
|
473
|
+
write to given file.
|
474
|
+
</p>
|
475
|
+
|
476
|
+
</div><div class="section tags">
|
477
|
+
<h2>Meta Tags</h2>
|
478
|
+
<div class="param">
|
479
|
+
<h3>Parameters:</h3>
|
480
|
+
<dl>
|
481
|
+
|
482
|
+
</dl>
|
483
|
+
</div><div class="return">
|
484
|
+
<h3>Returns:</h3>
|
485
|
+
<dl>
|
486
|
+
|
487
|
+
<dt>
|
488
|
+
|
489
|
+
<span class='type'>[<tt><a href="String.html" title="String">String</a></tt>]</span>
|
490
|
+
|
491
|
+
|
492
|
+
<span class='name'></span>
|
493
|
+
|
494
|
+
|
495
|
+
</dt>
|
496
|
+
<dd>
|
497
|
+
<span class='desc'><p>
|
498
|
+
Expanded path to given file
|
499
|
+
</p>
|
500
|
+
</span>
|
501
|
+
</dd>
|
502
|
+
|
503
|
+
</dl>
|
504
|
+
</div>
|
505
|
+
<div class="raise">
|
506
|
+
<h3>Raises:</h3>
|
507
|
+
<dl>
|
508
|
+
|
509
|
+
<dt>
|
510
|
+
|
511
|
+
<span class='type'>[<tt>Errno::ENOENT</tt>]</span>
|
512
|
+
|
513
|
+
|
514
|
+
|
515
|
+
</dt>
|
516
|
+
<dd>
|
517
|
+
<span class='desc'><p>
|
518
|
+
If parent directory of given file doesn’t exist
|
519
|
+
</p>
|
520
|
+
</span>
|
521
|
+
</dd>
|
522
|
+
|
523
|
+
<dt>
|
524
|
+
|
525
|
+
<span class='type'>[<tt>Errno::EACCES</tt>]</span>
|
526
|
+
|
527
|
+
|
528
|
+
|
529
|
+
</dt>
|
530
|
+
<dd>
|
531
|
+
<span class='desc'><p>
|
532
|
+
If you don’t have permissions to write to given file
|
533
|
+
</p>
|
534
|
+
</span>
|
535
|
+
</dd>
|
536
|
+
|
537
|
+
</dl>
|
538
|
+
</div>
|
539
|
+
<div class="author">
|
540
|
+
<h3>Author:</h3>
|
541
|
+
<dl>
|
542
|
+
|
543
|
+
<dt>
|
544
|
+
|
545
|
+
|
546
|
+
|
547
|
+
</dt>
|
548
|
+
<dd>
|
549
|
+
<span class='desc'><p>
|
550
|
+
Botanicus
|
551
|
+
</p>
|
552
|
+
</span>
|
553
|
+
</dd>
|
554
|
+
|
555
|
+
</dl>
|
556
|
+
</div>
|
557
|
+
<div class="since">
|
558
|
+
<h3>Since:</h3>
|
559
|
+
<dl>
|
560
|
+
|
561
|
+
<dt>
|
562
|
+
|
563
|
+
|
564
|
+
|
565
|
+
</dt>
|
566
|
+
<dd>
|
567
|
+
<span class='desc'><p>
|
568
|
+
0.0.3
|
569
|
+
</p>
|
570
|
+
</span>
|
571
|
+
</dd>
|
572
|
+
|
573
|
+
</dl>
|
574
|
+
</div>
|
575
|
+
|
576
|
+
</div><div class="section source">
|
577
|
+
<span>[<a class="source_link" href="#">View source</a>]</span>
|
578
|
+
<div class="source_code">
|
579
|
+
<table>
|
580
|
+
<tr>
|
581
|
+
<td>
|
582
|
+
<pre class="lines">
|
583
|
+
|
584
|
+
|
585
|
+
56
|
586
|
+
57
|
587
|
+
58</pre>
|
588
|
+
</td>
|
589
|
+
<td>
|
590
|
+
<pre class="code"><span class="info file"># File 'lib/rango/ext/file.rb', line 56</span>
|
591
|
+
|
592
|
+
<span class='def def kw'>def</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='print identifier id'>print</span><span class='lparen token'>(</span><span class='file identifier id'>file</span><span class='comma token'>,</span> <span class='mult op'>*</span><span class='chunks identifier id'>chunks</span><span class='rparen token'>)</span>
|
593
|
+
<span class='self self kw'>self</span><span class='dot token'>.</span><span class='write identifier id'>write</span><span class='lparen token'>(</span><span class='symbol val'>:print</span><span class='comma token'>,</span> <span class='string val'>"w"</span><span class='comma token'>,</span> <span class='file identifier id'>file</span><span class='comma token'>,</span> <span class='mult op'>*</span><span class='chunks identifier id'>chunks</span><span class='rparen token'>)</span>
|
594
|
+
<span class='end end kw'>end</span>
|
595
|
+
</pre>
|
596
|
+
</td>
|
597
|
+
</tr>
|
598
|
+
</table>
|
599
|
+
</div>
|
600
|
+
</div>
|
601
|
+
</div>
|
602
|
+
</div>
|
603
|
+
|
604
|
+
<div class="method">
|
605
|
+
<div class="method_header">
|
606
|
+
<h3>puts</h3>
|
607
|
+
</div><div id="puts-class_method" class="section method">
|
608
|
+
<div class="details_title">
|
609
|
+
<div class='section methodsignature'>
|
610
|
+
<tt class='def'>
|
611
|
+
<span class='visibility'>public</span>
|
612
|
+
<span class='return_types'><tt><a href="String.html" title="String">String</a></tt></span>
|
613
|
+
<span class='name'>puts</span><span class='args'>(file, *chunks)</span>
|
614
|
+
<span class='block'></span>
|
615
|
+
</tt>
|
616
|
+
</div>
|
617
|
+
|
618
|
+
</div><div class="section docstring">
|
619
|
+
<p>
|
620
|
+
Create new file and write there given chunks. It use <tt>IO#puts</tt> for
|
621
|
+
write to given file.
|
622
|
+
</p>
|
623
|
+
|
624
|
+
</div><div class="section tags">
|
625
|
+
<h2>Meta Tags</h2>
|
626
|
+
<div class="param">
|
627
|
+
<h3>Parameters:</h3>
|
628
|
+
<dl>
|
629
|
+
|
630
|
+
</dl>
|
631
|
+
</div><div class="return">
|
632
|
+
<h3>Returns:</h3>
|
633
|
+
<dl>
|
634
|
+
|
635
|
+
<dt>
|
636
|
+
|
637
|
+
<span class='type'>[<tt><a href="String.html" title="String">String</a></tt>]</span>
|
638
|
+
|
639
|
+
|
640
|
+
<span class='name'></span>
|
641
|
+
|
642
|
+
|
643
|
+
</dt>
|
644
|
+
<dd>
|
645
|
+
<span class='desc'><p>
|
646
|
+
Expanded path to given file
|
647
|
+
</p>
|
648
|
+
</span>
|
649
|
+
</dd>
|
650
|
+
|
651
|
+
</dl>
|
652
|
+
</div>
|
653
|
+
<div class="raise">
|
654
|
+
<h3>Raises:</h3>
|
655
|
+
<dl>
|
656
|
+
|
657
|
+
<dt>
|
658
|
+
|
659
|
+
<span class='type'>[<tt>Errno::ENOENT</tt>]</span>
|
660
|
+
|
661
|
+
|
662
|
+
|
663
|
+
</dt>
|
664
|
+
<dd>
|
665
|
+
<span class='desc'><p>
|
666
|
+
If parent directory of given file doesn’t exist
|
667
|
+
</p>
|
668
|
+
</span>
|
669
|
+
</dd>
|
670
|
+
|
671
|
+
<dt>
|
672
|
+
|
673
|
+
<span class='type'>[<tt>Errno::EACCES</tt>]</span>
|
674
|
+
|
675
|
+
|
676
|
+
|
677
|
+
</dt>
|
678
|
+
<dd>
|
679
|
+
<span class='desc'><p>
|
680
|
+
If you don’t have permissions to write to given file
|
681
|
+
</p>
|
682
|
+
</span>
|
683
|
+
</dd>
|
684
|
+
|
685
|
+
</dl>
|
686
|
+
</div>
|
687
|
+
<div class="author">
|
688
|
+
<h3>Author:</h3>
|
689
|
+
<dl>
|
690
|
+
|
691
|
+
<dt>
|
692
|
+
|
693
|
+
|
694
|
+
|
695
|
+
</dt>
|
696
|
+
<dd>
|
697
|
+
<span class='desc'><p>
|
698
|
+
Botanicus
|
699
|
+
</p>
|
700
|
+
</span>
|
701
|
+
</dd>
|
702
|
+
|
703
|
+
</dl>
|
704
|
+
</div>
|
705
|
+
<div class="since">
|
706
|
+
<h3>Since:</h3>
|
707
|
+
<dl>
|
708
|
+
|
709
|
+
<dt>
|
710
|
+
|
711
|
+
|
712
|
+
|
713
|
+
</dt>
|
714
|
+
<dd>
|
715
|
+
<span class='desc'><p>
|
716
|
+
0.0.3
|
717
|
+
</p>
|
718
|
+
</span>
|
719
|
+
</dd>
|
720
|
+
|
721
|
+
</dl>
|
722
|
+
</div>
|
723
|
+
|
724
|
+
</div><div class="section source">
|
725
|
+
<span>[<a class="source_link" href="#">View source</a>]</span>
|
726
|
+
<div class="source_code">
|
727
|
+
<table>
|
728
|
+
<tr>
|
729
|
+
<td>
|
730
|
+
<pre class="lines">
|
731
|
+
|
732
|
+
|
733
|
+
42
|
734
|
+
43
|
735
|
+
44</pre>
|
736
|
+
</td>
|
737
|
+
<td>
|
738
|
+
<pre class="code"><span class="info file"># File 'lib/rango/ext/file.rb', line 42</span>
|
739
|
+
|
740
|
+
<span class='def def kw'>def</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='puts identifier id'>puts</span><span class='lparen token'>(</span><span class='file identifier id'>file</span><span class='comma token'>,</span> <span class='mult op'>*</span><span class='chunks identifier id'>chunks</span><span class='rparen token'>)</span>
|
741
|
+
<span class='self self kw'>self</span><span class='dot token'>.</span><span class='write identifier id'>write</span><span class='lparen token'>(</span><span class='symbol val'>:puts</span><span class='comma token'>,</span> <span class='string val'>"w"</span><span class='comma token'>,</span> <span class='file identifier id'>file</span><span class='comma token'>,</span> <span class='mult op'>*</span><span class='chunks identifier id'>chunks</span><span class='rparen token'>)</span>
|
742
|
+
<span class='end end kw'>end</span>
|
743
|
+
</pre>
|
744
|
+
</td>
|
745
|
+
</tr>
|
746
|
+
</table>
|
747
|
+
</div>
|
748
|
+
</div>
|
749
|
+
</div>
|
750
|
+
</div>
|
751
|
+
|
752
|
+
<div class="method">
|
753
|
+
<div class="method_header">
|
754
|
+
<h3>write</h3>
|
755
|
+
</div><div id="write-class_method" class="section method">
|
756
|
+
<div class="details_title">
|
757
|
+
<div class='section methodsignature'>
|
758
|
+
<tt class='def'>
|
759
|
+
<span class='visibility'>public</span>
|
760
|
+
<span class='return_types'><tt><a href="String.html" title="String">String</a></tt></span>
|
761
|
+
<span class='name'>write</span><span class='args'>(method, mode, file, *args)</span>
|
762
|
+
<span class='block'></span>
|
763
|
+
</tt>
|
764
|
+
</div>
|
765
|
+
|
766
|
+
</div><div class="section docstring">
|
767
|
+
<p>
|
768
|
+
Write data to file with given method.
|
769
|
+
</p>
|
770
|
+
|
771
|
+
</div><div class="section tags">
|
772
|
+
<h2>Meta Tags</h2>
|
773
|
+
<div class="param">
|
774
|
+
<h3>Parameters:</h3>
|
775
|
+
<dl>
|
776
|
+
|
777
|
+
</dl>
|
778
|
+
</div><div class="return">
|
779
|
+
<h3>Returns:</h3>
|
780
|
+
<dl>
|
781
|
+
|
782
|
+
<dt>
|
783
|
+
|
784
|
+
<span class='type'>[<tt><a href="String.html" title="String">String</a></tt>]</span>
|
785
|
+
|
786
|
+
|
787
|
+
<span class='name'></span>
|
788
|
+
|
789
|
+
|
790
|
+
</dt>
|
791
|
+
<dd>
|
792
|
+
<span class='desc'><p>
|
793
|
+
Expanded path to given file
|
794
|
+
</p>
|
795
|
+
</span>
|
796
|
+
</dd>
|
797
|
+
|
798
|
+
</dl>
|
799
|
+
</div>
|
800
|
+
<div class="raise">
|
801
|
+
<h3>Raises:</h3>
|
802
|
+
<dl>
|
803
|
+
|
804
|
+
<dt>
|
805
|
+
|
806
|
+
<span class='type'>[<tt>Errno::ENOENT</tt>]</span>
|
807
|
+
|
808
|
+
|
809
|
+
|
810
|
+
</dt>
|
811
|
+
<dd>
|
812
|
+
<span class='desc'><p>
|
813
|
+
If parent directory of given file doesn’t exist
|
814
|
+
</p>
|
815
|
+
</span>
|
816
|
+
</dd>
|
817
|
+
|
818
|
+
<dt>
|
819
|
+
|
820
|
+
<span class='type'>[<tt>Errno::EACCES</tt>]</span>
|
821
|
+
|
822
|
+
|
823
|
+
|
824
|
+
</dt>
|
825
|
+
<dd>
|
826
|
+
<span class='desc'><p>
|
827
|
+
If you don’t have permissions to write to given file
|
828
|
+
</p>
|
829
|
+
</span>
|
830
|
+
</dd>
|
831
|
+
|
832
|
+
</dl>
|
833
|
+
</div>
|
834
|
+
<div class="author">
|
835
|
+
<h3>Author:</h3>
|
836
|
+
<dl>
|
837
|
+
|
838
|
+
<dt>
|
839
|
+
|
840
|
+
|
841
|
+
|
842
|
+
</dt>
|
843
|
+
<dd>
|
844
|
+
<span class='desc'><p>
|
845
|
+
Botanicus
|
846
|
+
</p>
|
847
|
+
</span>
|
848
|
+
</dd>
|
849
|
+
|
850
|
+
</dl>
|
851
|
+
</div>
|
852
|
+
<div class="since">
|
853
|
+
<h3>Since:</h3>
|
854
|
+
<dl>
|
855
|
+
|
856
|
+
<dt>
|
857
|
+
|
858
|
+
|
859
|
+
|
860
|
+
</dt>
|
861
|
+
<dd>
|
862
|
+
<span class='desc'><p>
|
863
|
+
0.0.3
|
864
|
+
</p>
|
865
|
+
</span>
|
866
|
+
</dd>
|
867
|
+
|
868
|
+
</dl>
|
869
|
+
</div>
|
870
|
+
|
871
|
+
</div><div class="section source">
|
872
|
+
<span>[<a class="source_link" href="#">View source</a>]</span>
|
873
|
+
<div class="source_code">
|
874
|
+
<table>
|
875
|
+
<tr>
|
876
|
+
<td>
|
877
|
+
<pre class="lines">
|
878
|
+
|
879
|
+
|
880
|
+
69
|
881
|
+
70
|
882
|
+
71
|
883
|
+
72
|
884
|
+
73</pre>
|
885
|
+
</td>
|
886
|
+
<td>
|
887
|
+
<pre class="code"><span class="info file"># File 'lib/rango/ext/file.rb', line 69</span>
|
888
|
+
|
889
|
+
<span class='def def kw'>def</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='write identifier id'>write</span><span class='lparen token'>(</span><span class='method identifier id'>method</span><span class='comma token'>,</span> <span class='mode identifier id'>mode</span><span class='comma token'>,</span> <span class='file identifier id'>file</span><span class='comma token'>,</span> <span class='mult op'>*</span><span class='args identifier id'>args</span><span class='rparen token'>)</span>
|
890
|
+
<span class='self self kw'>self</span><span class='dot token'>.</span><span class='expand_path identifier id'>expand_path</span><span class='lparen token'>(</span><span class='file identifier id'>file</span><span class='rparen token'>)</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='path identifier id'>path</span><span class='bitor op'>|</span>
|
891
|
+
<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='path identifier id'>path</span><span class='comma token'>,</span> <span class='mode identifier id'>mode</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span> <span class='bitor op'>|</span><span class='file identifier id'>file</span><span class='bitor op'>|</span> <span class='file identifier id'>file</span><span class='dot token'>.</span><span class='send identifier id'>send</span><span class='lparen token'>(</span><span class='method identifier id'>method</span><span class='comma token'>,</span> <span class='mult op'>*</span><span class='args identifier id'>args</span><span class='rparen token'>)</span> <span class='rbrace token'>}</span>
|
892
|
+
<span class='end end kw'>end</span>
|
893
|
+
<span class='end end kw'>end</span>
|
894
|
+
</pre>
|
895
|
+
</td>
|
896
|
+
</tr>
|
897
|
+
</table>
|
898
|
+
</div>
|
899
|
+
</div>
|
900
|
+
</div>
|
901
|
+
</div>
|
902
|
+
|
903
|
+
</div>
|
904
|
+
</div>
|
905
|
+
|
906
|
+
</div>
|
907
|
+
</div>
|
908
|
+
</body>
|
909
|
+
</html>
|