ttk 0.1.576
Sign up to get free protection for your applications and to get access to all the features.
- data/AUTHORS +32 -0
- data/COPYING +18 -0
- data/ChangeLog +4629 -0
- data/DATE +1 -0
- data/DESCRIPTION +8 -0
- data/GUIDELINES +84 -0
- data/LGPL +504 -0
- data/NEWS +69 -0
- data/NORM +85 -0
- data/README +206 -0
- data/REVISION +1 -0
- data/Rakefile +120 -0
- data/TODO +23 -0
- data/TODO.old +115 -0
- data/VERSION +5 -0
- data/bin/getopts/ttk.rb +394 -0
- data/bin/getopts/ttkd.rb +150 -0
- data/bin/getopts/ttkm.rb +71 -0
- data/bin/ttk +170 -0
- data/bin/ttkd +73 -0
- data/bin/ttkm +54 -0
- data/doc/html/classes/IO/CutInput.html +159 -0
- data/doc/html/classes/IO/Delegator.html +291 -0
- data/doc/html/classes/IO/Dispatch.html +204 -0
- data/doc/html/classes/IO/Ext.html +118 -0
- data/doc/html/classes/IO/ImplExt.html +149 -0
- data/doc/html/classes/IO/ImplIndent.html +175 -0
- data/doc/html/classes/IO/ImplPrintFile.html +142 -0
- data/doc/html/classes/IO/ImplPrintIO.html +143 -0
- data/doc/html/classes/IO/InputFilter.html +347 -0
- data/doc/html/classes/IO/OutputFilter.html +298 -0
- data/doc/html/classes/NilClass.html +198 -0
- data/doc/html/classes/SafeEval.html +277 -0
- data/doc/html/classes/String.html +245 -0
- data/doc/html/classes/SymTbl.html +146 -0
- data/doc/html/classes/TTK.html +658 -0
- data/doc/html/classes/TTK/AbortStatus.html +211 -0
- data/doc/html/classes/TTK/Daemons.html +142 -0
- data/doc/html/classes/TTK/Daemons/Daemon.html +170 -0
- data/doc/html/classes/TTK/Daemons/Daemon/Logger.html +192 -0
- data/doc/html/classes/TTK/Daemons/Master.html +163 -0
- data/doc/html/classes/TTK/Daemons/Slave.html +158 -0
- data/doc/html/classes/TTK/Dumpers.html +150 -0
- data/doc/html/classes/TTK/Dumpers/Dumper.html +461 -0
- data/doc/html/classes/TTK/Dumpers/Notif.html +208 -0
- data/doc/html/classes/TTK/Dumpers/Xml.html +260 -0
- data/doc/html/classes/TTK/Dumpers/Yaml.html +307 -0
- data/doc/html/classes/TTK/ErrorStatus.html +133 -0
- data/doc/html/classes/TTK/FailStatus.html +195 -0
- data/doc/html/classes/TTK/Fetchers.html +135 -0
- data/doc/html/classes/TTK/Fetchers/Client.html +229 -0
- data/doc/html/classes/TTK/Fetchers/Client/Receiver.html +254 -0
- data/doc/html/classes/TTK/Fetchers/Server.html +256 -0
- data/doc/html/classes/TTK/Fetchers/Server/Sender.html +241 -0
- data/doc/html/classes/TTK/Filters.html +142 -0
- data/doc/html/classes/TTK/Filters/BasicLogger.html +187 -0
- data/doc/html/classes/TTK/Filters/Filter.html +188 -0
- data/doc/html/classes/TTK/Filters/Saver.html +279 -0
- data/doc/html/classes/TTK/Loaders.html +115 -0
- data/doc/html/classes/TTK/Loaders/BaseNode.html +224 -0
- data/doc/html/classes/TTK/Loaders/Loader.html +242 -0
- data/doc/html/classes/TTK/Loaders/OYaml.html +161 -0
- data/doc/html/classes/TTK/Loaders/Yaml.html +157 -0
- data/doc/html/classes/TTK/Loaders/YamlOld.html +155 -0
- data/doc/html/classes/TTK/Logger.html +836 -0
- data/doc/html/classes/TTK/Logger/Path.html +161 -0
- data/doc/html/classes/TTK/Logger/SectionNode.html +925 -0
- data/doc/html/classes/TTK/Logger/Severity.html +306 -0
- data/doc/html/classes/TTK/Logger/ToTTKLog.html +119 -0
- data/doc/html/classes/TTK/Logger/Verbosity.html +278 -0
- data/doc/html/classes/TTK/LoggerFactory.html +204 -0
- data/doc/html/classes/TTK/Monitors.html +132 -0
- data/doc/html/classes/TTK/Monitors/Client.html +261 -0
- data/doc/html/classes/TTK/Monitors/Monitor.html +209 -0
- data/doc/html/classes/TTK/Monitors/Server.html +288 -0
- data/doc/html/classes/TTK/Monitors/Server/Notification.html +118 -0
- data/doc/html/classes/TTK/Monitors/Server/Notifier.html +118 -0
- data/doc/html/classes/TTK/PassStatus.html +168 -0
- data/doc/html/classes/TTK/RunningStatus.html +133 -0
- data/doc/html/classes/TTK/Services.html +161 -0
- data/doc/html/classes/TTK/Services/DRbService.html +217 -0
- data/doc/html/classes/TTK/Services/DRbService/Notification.html +123 -0
- data/doc/html/classes/TTK/Services/DRbService/SubTestable.html +197 -0
- data/doc/html/classes/TTK/Services/FetcherClient.html +190 -0
- data/doc/html/classes/TTK/Services/FetcherServer.html +149 -0
- data/doc/html/classes/TTK/Services/MonitorClient.html +190 -0
- data/doc/html/classes/TTK/Services/MonitorServer.html +149 -0
- data/doc/html/classes/TTK/Services/TesterClient.html +207 -0
- data/doc/html/classes/TTK/Services/TesterMaster.html +193 -0
- data/doc/html/classes/TTK/Services/TesterMaster/Notification.html +123 -0
- data/doc/html/classes/TTK/Services/TesterSlave.html +157 -0
- data/doc/html/classes/TTK/Services/TesterSlave/Notification.html +118 -0
- data/doc/html/classes/TTK/SkipStatus.html +169 -0
- data/doc/html/classes/TTK/StartStatus.html +133 -0
- data/doc/html/classes/TTK/Status.html +373 -0
- data/doc/html/classes/TTK/StatusException.html +161 -0
- data/doc/html/classes/TTK/StatusWithMessage.html +220 -0
- data/doc/html/classes/TTK/Strategies.html +356 -0
- data/doc/html/classes/TTK/Strategies/Abort.html +161 -0
- data/doc/html/classes/TTK/Strategies/Authors.html +170 -0
- data/doc/html/classes/TTK/Strategies/Ball.html +200 -0
- data/doc/html/classes/TTK/Strategies/Block.html +230 -0
- data/doc/html/classes/TTK/Strategies/Bootstrap.html +238 -0
- data/doc/html/classes/TTK/Strategies/Checkout.html +201 -0
- data/doc/html/classes/TTK/Strategies/Clean.html +160 -0
- data/doc/html/classes/TTK/Strategies/Cmd.html +218 -0
- data/doc/html/classes/TTK/Strategies/CmdBase.html +312 -0
- data/doc/html/classes/TTK/Strategies/Collection.html +282 -0
- data/doc/html/classes/TTK/Strategies/Compile.html +199 -0
- data/doc/html/classes/TTK/Strategies/Composite.html +541 -0
- data/doc/html/classes/TTK/Strategies/Composite/Ordered.html +183 -0
- data/doc/html/classes/TTK/Strategies/Configure.html +270 -0
- data/doc/html/classes/TTK/Strategies/DistDelegate.html +192 -0
- data/doc/html/classes/TTK/Strategies/DistDuplicate.html +221 -0
- data/doc/html/classes/TTK/Strategies/DistStrategy.html +224 -0
- data/doc/html/classes/TTK/Strategies/Distribute.html +163 -0
- data/doc/html/classes/TTK/Strategies/Error.html +161 -0
- data/doc/html/classes/TTK/Strategies/Extract.html +179 -0
- data/doc/html/classes/TTK/Strategies/Fail.html +161 -0
- data/doc/html/classes/TTK/Strategies/Fetch.html +400 -0
- data/doc/html/classes/TTK/Strategies/Fetcher.html +276 -0
- data/doc/html/classes/TTK/Strategies/Glob.html +201 -0
- data/doc/html/classes/TTK/Strategies/IOBased.html +400 -0
- data/doc/html/classes/TTK/Strategies/Import.html +215 -0
- data/doc/html/classes/TTK/Strategies/JUnit.html +623 -0
- data/doc/html/classes/TTK/Strategies/KillAll.html +249 -0
- data/doc/html/classes/TTK/Strategies/Make.html +235 -0
- data/doc/html/classes/TTK/Strategies/Make/All.html +120 -0
- data/doc/html/classes/TTK/Strategies/Make/Check.html +120 -0
- data/doc/html/classes/TTK/Strategies/Make/Default.html +155 -0
- data/doc/html/classes/TTK/Strategies/Make/DistCheck.html +120 -0
- data/doc/html/classes/TTK/Strategies/Make/Install.html +120 -0
- data/doc/html/classes/TTK/Strategies/Make/Target.html +179 -0
- data/doc/html/classes/TTK/Strategies/Package.html +271 -0
- data/doc/html/classes/TTK/Strategies/PackageCollection.html +168 -0
- data/doc/html/classes/TTK/Strategies/Pass.html +161 -0
- data/doc/html/classes/TTK/Strategies/Pool.html +306 -0
- data/doc/html/classes/TTK/Strategies/Pool/PoolComponent.html +139 -0
- data/doc/html/classes/TTK/Strategies/ProbabilityThreshold.html +187 -0
- data/doc/html/classes/TTK/Strategies/Proxy.html +211 -0
- data/doc/html/classes/TTK/Strategies/RUnit.html +355 -0
- data/doc/html/classes/TTK/Strategies/RemoteCmd.html +213 -0
- data/doc/html/classes/TTK/Strategies/SignalCmd.html +269 -0
- data/doc/html/classes/TTK/Strategies/Sleep.html +193 -0
- data/doc/html/classes/TTK/Strategies/SqlQuery.html +248 -0
- data/doc/html/classes/TTK/Strategies/Strategy.html +2847 -0
- data/doc/html/classes/TTK/Strategies/Strategy/AssertEval.html +233 -0
- data/doc/html/classes/TTK/Strategies/Strategy/AttributedClass.html +107 -0
- data/doc/html/classes/TTK/Strategies/Strategy/AttributedClass/Attribute.html +246 -0
- data/doc/html/classes/TTK/Strategies/Strategy/Failure.html +121 -0
- data/doc/html/classes/TTK/Strategies/Stub.html +179 -0
- data/doc/html/classes/TTK/Strategies/SubCmd.html +243 -0
- data/doc/html/classes/TTK/Strategies/Suite.html +182 -0
- data/doc/html/classes/TTK/Strategies/Test.html +310 -0
- data/doc/html/classes/TTK/Strategies/Tester.html +218 -0
- data/doc/html/classes/TTK/Streams.html +116 -0
- data/doc/html/classes/TTK/Streams/Diff.html +148 -0
- data/doc/html/classes/TTK/Streams/Stream.html +295 -0
- data/doc/html/classes/TTK/SymTbl.html +266 -0
- data/doc/html/classes/TTK/TTKException.html +118 -0
- data/doc/html/classes/TTK/TTKModule.html +145 -0
- data/doc/html/classes/TTK/Testers.html +156 -0
- data/doc/html/classes/TTK/Testers/Master.html +304 -0
- data/doc/html/classes/TTK/Testers/Slave.html +120 -0
- data/doc/html/classes/TTK/Testers/Tester.html +547 -0
- data/doc/html/classes/TTK/Testers/Tester/Config.html +310 -0
- data/doc/html/classes/TTK/Testers/Tester/Notification.html +123 -0
- data/doc/html/classes/TTK/Testers/Tester/Notifier.html +118 -0
- data/doc/html/classes/TTK/Testers/Tester/QueryNode.html +341 -0
- data/doc/html/classes/TTK/Testers/Tester/RemoteStatus.html +165 -0
- data/doc/html/classes/TTK/Testers/Tester/RunningTask.html +262 -0
- data/doc/html/classes/TTK/Testers/Tester/Score.html +198 -0
- data/doc/html/classes/TTK/TimeoutAbortStatus.html +161 -0
- data/doc/html/classes/TTK/Tools.html +111 -0
- data/doc/html/classes/TTK/Tools/HostDispatcher.html +246 -0
- data/doc/html/classes/TTK/Weights.html +160 -0
- data/doc/html/classes/TTK/Weights/WExpr.html +326 -0
- data/doc/html/classes/TTK/Weights/WFloat.html +149 -0
- data/doc/html/classes/TTK/Weights/WMin.html +148 -0
- data/doc/html/classes/TTK/Weights/Weight.html +624 -0
- data/doc/html/created.rid +1 -0
- data/doc/html/files/AUTHORS.html +198 -0
- data/doc/html/files/NEWS.html +236 -0
- data/doc/html/files/README.html +435 -0
- data/doc/html/files/TODO.html +128 -0
- data/doc/html/files/lib/ttk/Tools/HostDispatcher_rb.html +126 -0
- data/doc/html/files/lib/ttk/Tools/SafeEval_rb.html +119 -0
- data/doc/html/files/lib/ttk/Tools/cut_output_rb.html +126 -0
- data/doc/html/files/lib/ttk/Tools/io/delegator_rb.html +127 -0
- data/doc/html/files/lib/ttk/Tools/io/dispatch_rb.html +127 -0
- data/doc/html/files/lib/ttk/Tools/io/ext_rb.html +126 -0
- data/doc/html/files/lib/ttk/Tools/io/filters_rb.html +127 -0
- data/doc/html/files/lib/ttk/daemons/Daemon_rb.html +126 -0
- data/doc/html/files/lib/ttk/daemons/Master_rb.html +119 -0
- data/doc/html/files/lib/ttk/daemons/Slave_rb.html +119 -0
- data/doc/html/files/lib/ttk/daemons/daemon/logger_rb.html +126 -0
- data/doc/html/files/lib/ttk/dumpers/Dumper_rb.html +119 -0
- data/doc/html/files/lib/ttk/dumpers/Notif_rb.html +119 -0
- data/doc/html/files/lib/ttk/dumpers/Xml_rb.html +126 -0
- data/doc/html/files/lib/ttk/dumpers/Yaml_rb.html +119 -0
- data/doc/html/files/lib/ttk/fetchers/Client_rb.html +126 -0
- data/doc/html/files/lib/ttk/fetchers/Server_rb.html +126 -0
- data/doc/html/files/lib/ttk/fetchers/client/receiver_rb.html +127 -0
- data/doc/html/files/lib/ttk/fetchers/server/sender_rb.html +127 -0
- data/doc/html/files/lib/ttk/filters/BasicLogger_rb.html +126 -0
- data/doc/html/files/lib/ttk/filters/Filter_rb.html +119 -0
- data/doc/html/files/lib/ttk/filters/Saver_rb.html +119 -0
- data/doc/html/files/lib/ttk/loaders/Loader_rb.html +119 -0
- data/doc/html/files/lib/ttk/loaders/OYaml_rb.html +126 -0
- data/doc/html/files/lib/ttk/loaders/YamlOld_rb.html +126 -0
- data/doc/html/files/lib/ttk/loaders/Yaml_rb.html +126 -0
- data/doc/html/files/lib/ttk/logger/path_rb.html +119 -0
- data/doc/html/files/lib/ttk/logger/section_node_rb.html +119 -0
- data/doc/html/files/lib/ttk/logger/severity_rb.html +119 -0
- data/doc/html/files/lib/ttk/logger/to_ttk_log_rb.html +119 -0
- data/doc/html/files/lib/ttk/logger/verbosity_rb.html +119 -0
- data/doc/html/files/lib/ttk/logger_factory_rb.html +119 -0
- data/doc/html/files/lib/ttk/logger_rb.html +131 -0
- data/doc/html/files/lib/ttk/monitors/Client_rb.html +119 -0
- data/doc/html/files/lib/ttk/monitors/Monitor_rb.html +127 -0
- data/doc/html/files/lib/ttk/monitors/Server_rb.html +126 -0
- data/doc/html/files/lib/ttk/services/DRbService/sub_testable_rb.html +119 -0
- data/doc/html/files/lib/ttk/services/DRbService_rb.html +126 -0
- data/doc/html/files/lib/ttk/services/FetcherClient_rb.html +119 -0
- data/doc/html/files/lib/ttk/services/FetcherServer_rb.html +119 -0
- data/doc/html/files/lib/ttk/services/MonitorClient_rb.html +119 -0
- data/doc/html/files/lib/ttk/services/MonitorServer_rb.html +119 -0
- data/doc/html/files/lib/ttk/services/TesterClient_rb.html +119 -0
- data/doc/html/files/lib/ttk/services/TesterMaster_rb.html +119 -0
- data/doc/html/files/lib/ttk/services/TesterSlave_rb.html +119 -0
- data/doc/html/files/lib/ttk/status_rb.html +119 -0
- data/doc/html/files/lib/ttk/strategies/Abort_rb.html +119 -0
- data/doc/html/files/lib/ttk/strategies/Authors_rb.html +119 -0
- data/doc/html/files/lib/ttk/strategies/Ball_rb.html +119 -0
- data/doc/html/files/lib/ttk/strategies/Block_rb.html +119 -0
- data/doc/html/files/lib/ttk/strategies/Bootstrap_rb.html +119 -0
- data/doc/html/files/lib/ttk/strategies/Checkout_rb.html +127 -0
- data/doc/html/files/lib/ttk/strategies/Clean_rb.html +119 -0
- data/doc/html/files/lib/ttk/strategies/CmdBase_rb.html +119 -0
- data/doc/html/files/lib/ttk/strategies/Cmd_rb.html +119 -0
- data/doc/html/files/lib/ttk/strategies/Collection_rb.html +119 -0
- data/doc/html/files/lib/ttk/strategies/Compile_rb.html +119 -0
- data/doc/html/files/lib/ttk/strategies/Composite_rb.html +119 -0
- data/doc/html/files/lib/ttk/strategies/Configure_rb.html +119 -0
- data/doc/html/files/lib/ttk/strategies/DistDelegate_rb.html +119 -0
- data/doc/html/files/lib/ttk/strategies/DistDuplicate_rb.html +119 -0
- data/doc/html/files/lib/ttk/strategies/DistStrategy_rb.html +119 -0
- data/doc/html/files/lib/ttk/strategies/Distribute_rb.html +119 -0
- data/doc/html/files/lib/ttk/strategies/Error_rb.html +119 -0
- data/doc/html/files/lib/ttk/strategies/Extract_rb.html +126 -0
- data/doc/html/files/lib/ttk/strategies/Fail_rb.html +119 -0
- data/doc/html/files/lib/ttk/strategies/Fetch_rb.html +127 -0
- data/doc/html/files/lib/ttk/strategies/Fetcher_rb.html +126 -0
- data/doc/html/files/lib/ttk/strategies/Glob_rb.html +119 -0
- data/doc/html/files/lib/ttk/strategies/IOBased_rb.html +119 -0
- data/doc/html/files/lib/ttk/strategies/Import_rb.html +119 -0
- data/doc/html/files/lib/ttk/strategies/JUnit_rb.html +119 -0
- data/doc/html/files/lib/ttk/strategies/KillAll_rb.html +119 -0
- data/doc/html/files/lib/ttk/strategies/Make_rb.html +119 -0
- data/doc/html/files/lib/ttk/strategies/PackageCollection_rb.html +126 -0
- data/doc/html/files/lib/ttk/strategies/Package_rb.html +119 -0
- data/doc/html/files/lib/ttk/strategies/Pass_rb.html +119 -0
- data/doc/html/files/lib/ttk/strategies/Pool_rb.html +119 -0
- data/doc/html/files/lib/ttk/strategies/ProbabilityThreshold_rb.html +119 -0
- data/doc/html/files/lib/ttk/strategies/Proxy_rb.html +119 -0
- data/doc/html/files/lib/ttk/strategies/RUnit_rb.html +127 -0
- data/doc/html/files/lib/ttk/strategies/RemoteCmd_rb.html +126 -0
- data/doc/html/files/lib/ttk/strategies/SignalCmd_rb.html +119 -0
- data/doc/html/files/lib/ttk/strategies/Sleep_rb.html +119 -0
- data/doc/html/files/lib/ttk/strategies/SqlQuery_rb.html +126 -0
- data/doc/html/files/lib/ttk/strategies/Strategy/assert_eval_rb.html +127 -0
- data/doc/html/files/lib/ttk/strategies/Strategy_rb.html +131 -0
- data/doc/html/files/lib/ttk/strategies/Streams/Diff_rb.html +119 -0
- data/doc/html/files/lib/ttk/strategies/Streams/Stream_rb.html +126 -0
- data/doc/html/files/lib/ttk/strategies/Stub_rb.html +119 -0
- data/doc/html/files/lib/ttk/strategies/SubCmd_rb.html +119 -0
- data/doc/html/files/lib/ttk/strategies/Suite_rb.html +119 -0
- data/doc/html/files/lib/ttk/strategies/Test_rb.html +127 -0
- data/doc/html/files/lib/ttk/strategies/Tester_rb.html +126 -0
- data/doc/html/files/lib/ttk/symtbl_rb.html +126 -0
- data/doc/html/files/lib/ttk/testers/Master_rb.html +119 -0
- data/doc/html/files/lib/ttk/testers/Slave_rb.html +119 -0
- data/doc/html/files/lib/ttk/testers/Tester_rb.html +131 -0
- data/doc/html/files/lib/ttk/testers/tester/config_rb.html +126 -0
- data/doc/html/files/lib/ttk/testers/tester/notifier_rb.html +119 -0
- data/doc/html/files/lib/ttk/testers/tester/query_node_rb.html +126 -0
- data/doc/html/files/lib/ttk/testers/tester/remote_status_rb.html +119 -0
- data/doc/html/files/lib/ttk/testers/tester/running_task_rb.html +119 -0
- data/doc/html/files/lib/ttk/testers/tester/score_rb.html +119 -0
- data/doc/html/files/lib/ttk/weights/WExpr_rb.html +119 -0
- data/doc/html/files/lib/ttk/weights/WFloat_rb.html +119 -0
- data/doc/html/files/lib/ttk/weights/WMin_rb.html +119 -0
- data/doc/html/files/lib/ttk/weights/Weight_rb.html +126 -0
- data/doc/html/files/lib/ttk_rb.html +146 -0
- data/doc/html/files/lib/ttkd_rb.html +131 -0
- data/doc/html/files/template/README.html +160 -0
- data/doc/html/files/test/examples/README.html +190 -0
- data/doc/html/fr_class_index.html +186 -0
- data/doc/html/fr_file_index.html +147 -0
- data/doc/html/fr_method_index.html +581 -0
- data/doc/html/index.html +24 -0
- data/doc/html/rdoc-style.css +208 -0
- data/lib/ttk.rb +111 -0
- data/lib/ttk/Tools/HostDispatcher.rb +44 -0
- data/lib/ttk/Tools/SafeEval.rb +64 -0
- data/lib/ttk/Tools/cut_output.rb +35 -0
- data/lib/ttk/Tools/io/delegator.rb +88 -0
- data/lib/ttk/Tools/io/dispatch.rb +31 -0
- data/lib/ttk/Tools/io/ext.rb +70 -0
- data/lib/ttk/Tools/io/filters.rb +71 -0
- data/lib/ttk/daemons/Daemon.rb +34 -0
- data/lib/ttk/daemons/Master.rb +34 -0
- data/lib/ttk/daemons/Slave.rb +29 -0
- data/lib/ttk/daemons/daemon/logger.rb +57 -0
- data/lib/ttk/dumpers/Dumper.rb +81 -0
- data/lib/ttk/dumpers/Notif.rb +33 -0
- data/lib/ttk/dumpers/Xml.rb +112 -0
- data/lib/ttk/dumpers/Yaml.rb +159 -0
- data/lib/ttk/fetchers/Client.rb +41 -0
- data/lib/ttk/fetchers/Server.rb +49 -0
- data/lib/ttk/fetchers/client/receiver.rb +62 -0
- data/lib/ttk/fetchers/server/sender.rb +69 -0
- data/lib/ttk/filters/BasicLogger.rb +30 -0
- data/lib/ttk/filters/Filter.rb +24 -0
- data/lib/ttk/filters/Saver.rb +60 -0
- data/lib/ttk/loaders/Loader.rb +123 -0
- data/lib/ttk/loaders/OYaml.rb +60 -0
- data/lib/ttk/loaders/Yaml.rb +74 -0
- data/lib/ttk/loaders/YamlOld.rb +65 -0
- data/lib/ttk/logger.rb +237 -0
- data/lib/ttk/logger/path.rb +23 -0
- data/lib/ttk/logger/section_node.rb +214 -0
- data/lib/ttk/logger/severity.rb +62 -0
- data/lib/ttk/logger/to_ttk_log.rb +83 -0
- data/lib/ttk/logger/verbosity.rb +61 -0
- data/lib/ttk/logger_factory.rb +50 -0
- data/lib/ttk/monitors/Client.rb +61 -0
- data/lib/ttk/monitors/Monitor.rb +50 -0
- data/lib/ttk/monitors/Server.rb +73 -0
- data/lib/ttk/services/DRbService.rb +45 -0
- data/lib/ttk/services/DRbService/sub_testable.rb +41 -0
- data/lib/ttk/services/FetcherClient.rb +31 -0
- data/lib/ttk/services/FetcherServer.rb +23 -0
- data/lib/ttk/services/MonitorClient.rb +31 -0
- data/lib/ttk/services/MonitorServer.rb +23 -0
- data/lib/ttk/services/TesterClient.rb +38 -0
- data/lib/ttk/services/TesterMaster.rb +40 -0
- data/lib/ttk/services/TesterSlave.rb +31 -0
- data/lib/ttk/status.rb +190 -0
- data/lib/ttk/strategies/Abort.rb +24 -0
- data/lib/ttk/strategies/Authors.rb +43 -0
- data/lib/ttk/strategies/Ball.rb +68 -0
- data/lib/ttk/strategies/Block.rb +95 -0
- data/lib/ttk/strategies/Bootstrap.rb +52 -0
- data/lib/ttk/strategies/Checkout.rb +53 -0
- data/lib/ttk/strategies/Clean.rb +29 -0
- data/lib/ttk/strategies/Cmd.rb +55 -0
- data/lib/ttk/strategies/CmdBase.rb +103 -0
- data/lib/ttk/strategies/Collection.rb +131 -0
- data/lib/ttk/strategies/Compile.rb +56 -0
- data/lib/ttk/strategies/Composite.rb +173 -0
- data/lib/ttk/strategies/Configure.rb +64 -0
- data/lib/ttk/strategies/DistDelegate.rb +45 -0
- data/lib/ttk/strategies/DistDuplicate.rb +64 -0
- data/lib/ttk/strategies/DistStrategy.rb +42 -0
- data/lib/ttk/strategies/Distribute.rb +39 -0
- data/lib/ttk/strategies/Error.rb +23 -0
- data/lib/ttk/strategies/Extract.rb +45 -0
- data/lib/ttk/strategies/Fail.rb +26 -0
- data/lib/ttk/strategies/Fetch.rb +124 -0
- data/lib/ttk/strategies/Fetcher.rb +74 -0
- data/lib/ttk/strategies/Glob.rb +48 -0
- data/lib/ttk/strategies/IOBased.rb +156 -0
- data/lib/ttk/strategies/Import.rb +45 -0
- data/lib/ttk/strategies/JUnit.rb +205 -0
- data/lib/ttk/strategies/KillAll.rb +59 -0
- data/lib/ttk/strategies/Make.rb +94 -0
- data/lib/ttk/strategies/Package.rb +128 -0
- data/lib/ttk/strategies/PackageCollection.rb +72 -0
- data/lib/ttk/strategies/Pass.rb +24 -0
- data/lib/ttk/strategies/Pool.rb +99 -0
- data/lib/ttk/strategies/ProbabilityThreshold.rb +42 -0
- data/lib/ttk/strategies/Proxy.rb +42 -0
- data/lib/ttk/strategies/RUnit.rb +170 -0
- data/lib/ttk/strategies/RemoteCmd.rb +48 -0
- data/lib/ttk/strategies/SignalCmd.rb +85 -0
- data/lib/ttk/strategies/Sleep.rb +36 -0
- data/lib/ttk/strategies/SqlQuery.rb +120 -0
- data/lib/ttk/strategies/Strategy.rb +606 -0
- data/lib/ttk/strategies/Strategy/assert_eval.rb +53 -0
- data/lib/ttk/strategies/Streams/Diff.rb +60 -0
- data/lib/ttk/strategies/Streams/Stream.rb +133 -0
- data/lib/ttk/strategies/Stub.rb +35 -0
- data/lib/ttk/strategies/SubCmd.rb +58 -0
- data/lib/ttk/strategies/Suite.rb +118 -0
- data/lib/ttk/strategies/Test.rb +88 -0
- data/lib/ttk/strategies/Tester.rb +59 -0
- data/lib/ttk/symtbl.rb +115 -0
- data/lib/ttk/testers/Master.rb +69 -0
- data/lib/ttk/testers/Slave.rb +19 -0
- data/lib/ttk/testers/Tester.rb +134 -0
- data/lib/ttk/testers/tester/config.rb +65 -0
- data/lib/ttk/testers/tester/notifier.rb +24 -0
- data/lib/ttk/testers/tester/query_node.rb +91 -0
- data/lib/ttk/testers/tester/remote_status.rb +29 -0
- data/lib/ttk/testers/tester/running_task.rb +47 -0
- data/lib/ttk/testers/tester/score.rb +34 -0
- data/lib/ttk/weights/WExpr.rb +68 -0
- data/lib/ttk/weights/WFloat.rb +23 -0
- data/lib/ttk/weights/WMin.rb +22 -0
- data/lib/ttk/weights/Weight.rb +85 -0
- data/lib/ttkd.rb +51 -0
- data/ruby_ex/abstract.rb +246 -0
- data/ruby_ex/abstract_node.rb +85 -0
- data/ruby_ex/array_each_pair.rb +18 -0
- data/ruby_ex/ask.rb +101 -0
- data/ruby_ex/attributed_class.rb +304 -0
- data/ruby_ex/cache.rb +373 -0
- data/ruby_ex/checkout.rb +12 -0
- data/ruby_ex/config_file.rb +96 -0
- data/ruby_ex/const_regexp.rb +59 -0
- data/ruby_ex/daemon.rb +134 -0
- data/ruby_ex/diff.rb +667 -0
- data/ruby_ex/dlogger.rb +62 -0
- data/ruby_ex/drb/dispatcher.rb +252 -0
- data/ruby_ex/drb/dispatcher_server_test.rb +29 -0
- data/ruby_ex/drb/drb_observable.rb +97 -0
- data/ruby_ex/drb/drb_observable_pool.rb +27 -0
- data/ruby_ex/drb/drb_service.rb +43 -0
- data/ruby_ex/drb/drb_undumped_attributes.rb +55 -0
- data/ruby_ex/drb/drb_undumped_indexed_object.rb +54 -0
- data/ruby_ex/drb/insecure_protected_methods.rb +103 -0
- data/ruby_ex/drb/session_client_test.rb +40 -0
- data/ruby_ex/drb/session_manager.rb +246 -0
- data/ruby_ex/drb/session_server.rb +53 -0
- data/ruby_ex/dtime.rb +143 -0
- data/ruby_ex/dumpable_proc.rb +63 -0
- data/ruby_ex/exception.rb +32 -0
- data/ruby_ex/filetype.rb +229 -0
- data/ruby_ex/fileutils_ex.rb +44 -0
- data/ruby_ex/fold.rb +58 -0
- data/ruby_ex/generate_id.rb +31 -0
- data/ruby_ex/inactive_timeout.rb +137 -0
- data/ruby_ex/indexed_node.rb +66 -0
- data/ruby_ex/io_marshal.rb +100 -0
- data/ruby_ex/ioo.rb +194 -0
- data/ruby_ex/labeled_node.rb +63 -0
- data/ruby_ex/logger_observer.rb +23 -0
- data/ruby_ex/md5sum.rb +66 -0
- data/ruby_ex/mktemp.rb +208 -0
- data/ruby_ex/module/attr_once.rb +36 -0
- data/ruby_ex/module/autoload_tree.rb +68 -0
- data/ruby_ex/module/hierarchy.rb +335 -0
- data/ruby_ex/module/instance_method_visibility.rb +73 -0
- data/ruby_ex/module_ex.rb +11 -0
- data/ruby_ex/node.rb +80 -0
- data/ruby_ex/object_monitor.rb +145 -0
- data/ruby_ex/object_monitor_activity.rb +33 -0
- data/ruby_ex/observable.rb +140 -0
- data/ruby_ex/observable_pool.rb +293 -0
- data/ruby_ex/orderedhash.rb +252 -0
- data/ruby_ex/pathname_ex.rb +113 -0
- data/ruby_ex/pp_hierarchy.rb +29 -0
- data/ruby_ex/pseudo_cache.rb +190 -0
- data/ruby_ex/queue.rb +56 -0
- data/ruby_ex/safe_eval.rb +348 -0
- data/ruby_ex/service_manager.rb +121 -0
- data/ruby_ex/session/administrable.rb +120 -0
- data/ruby_ex/session/client.rb +153 -0
- data/ruby_ex/session/const.rb +18 -0
- data/ruby_ex/session/dispatcher.rb +184 -0
- data/ruby_ex/session/error.rb +21 -0
- data/ruby_ex/session/fetchable.rb +57 -0
- data/ruby_ex/session/fetcher.rb +62 -0
- data/ruby_ex/session/hookable.rb +26 -0
- data/ruby_ex/session/profile.rb +110 -0
- data/ruby_ex/session/server.rb +582 -0
- data/ruby_ex/session/test/administrable_test.rb +337 -0
- data/ruby_ex/session/test/basic_test.rb +523 -0
- data/ruby_ex/session/test/dispatcher_test.rb +409 -0
- data/ruby_ex/session/test/fetchable_test.rb +119 -0
- data/ruby_ex/session/test/sub_server_test.rb +188 -0
- data/ruby_ex/spring.rb +136 -0
- data/ruby_ex/spring_set.rb +137 -0
- data/ruby_ex/symtbl.rb +106 -0
- data/ruby_ex/synflow.rb +474 -0
- data/ruby_ex/test/unit/ui/yaml/testrunner.rb +164 -0
- data/ruby_ex/thread_mutex.rb +10 -0
- data/ruby_ex/timeout_ex.rb +81 -0
- data/ruby_ex/top_down.rb +73 -0
- data/ruby_ex/trace.rb +26 -0
- data/ruby_ex/uri/druby.rb +81 -0
- data/ruby_ex/uri/file.rb +39 -0
- data/ruby_ex/uri/ftp_ex.rb +37 -0
- data/ruby_ex/uri/http_ex.rb +43 -0
- data/ruby_ex/uri/svn.rb +101 -0
- data/ruby_ex/uri_ex.rb +35 -0
- data/ruby_ex/version.rb +66 -0
- data/ruby_ex/yaml/basenode_ext.rb +63 -0
- data/ruby_ex/yaml/transform.rb +447 -0
- data/ruby_ex/yaml/yregexpath.rb +76 -0
- data/test/all/TestTAssert/first.yml +65 -0
- data/test/all/TestTAssert/segfault.yml +31 -0
- data/test/all/dist-suite-indirect-nested.yml +15 -0
- data/test/all/dist-suite-nested-3.yml +16 -0
- data/test/all/dist-suite-nested-in-pool.yml +51 -0
- data/test/all/dist-suite-nested.yml +28 -0
- data/test/all/no_suite.yml +18 -0
- data/test/all/pipeline-timeout.yml +21 -0
- data/test/all/remote_cmd.yml +23 -0
- data/test/all/remote_dispatcher.yml +26 -0
- data/test/all/suite_timeout.yml +32 -0
- data/test/all/weight.yml +113 -0
- data/test/all/xunit/junit/MultiRight/Foo/Foo.java +11 -0
- data/test/all/xunit/junit/MultiRight/Foo/FooTest.java +15 -0
- data/test/all/xunit/junit/MultiRight/MultiRight.java +13 -0
- data/test/all/xunit/junit/MultiRight/MultiRightTest.java +12 -0
- data/test/all/xunit/junit/MultiRight/bar/Bar.java +11 -0
- data/test/all/xunit/junit/MultiRight/bar/BarTest.java +21 -0
- data/test/all/xunit/junit/MultiRight/build.sh +7 -0
- data/test/all/xunit/junit/SimpleException/SimpleExceptionTest.java +11 -0
- data/test/all/xunit/junit/SimpleException/build.sh +4 -0
- data/test/all/xunit/junit/build.sh +9 -0
- data/test/all/xunit/junit/multibar.yml +6 -0
- data/test/all/xunit/junit/multifoo.yml +6 -0
- data/test/all/xunit/junit/multiright.yml +8 -0
- data/test/all/xunit/junit/simple_exception.yml +6 -0
- data/test/examples-suite.yml +10 -0
- data/test/examples/README +68 -0
- data/test/examples/cache/simple.yml +33 -0
- data/test/examples/sql/basic.yml +26 -0
- data/test/examples/students-suite.yml +11 -0
- data/test/examples/students/ball.yml +13 -0
- data/test/examples/students/glob_stud.yml +23 -0
- data/test/examples/students/mini-lib.yml +73 -0
- data/test/examples/students/pool_stud.yml +35 -0
- data/test/examples/students/stud.yml +25 -0
- data/test/ressources/ball/20040804-exam_a1-zapngo-tessar_m.tar.gz +0 -0
- data/test/ressources/ball/Makefile +24 -0
- data/test/ressources/ball/bar_p-mini-lib.tar.bz2 +0 -0
- data/test/ressources/ball/bar_p-mini-lib/Makefile +20 -0
- data/test/ressources/ball/bar_p-mini-lib/my_strlen.c +13 -0
- data/test/ressources/ball/foo_s-mini-lib.tar.bz2 +0 -0
- data/test/ressources/ball/foo_s-mini-lib/Makefile +20 -0
- data/test/ressources/ball/foo_s-mini-lib/configure +2 -0
- data/test/ressources/ball/foo_s-mini-lib/my_strlen.c +10 -0
- data/test/ressources/ball/hello.tar.bz2 +0 -0
- data/test/ressources/ball/hello.tar.gz +0 -0
- data/test/ressources/ball/hello/Makefile +14 -0
- data/test/ressources/ball/hello/hello.c +7 -0
- data/test/ressources/ball/jack-exit.tar.bz2 +0 -0
- data/test/ressources/ball/jack-exit/Makefile +14 -0
- data/test/ressources/ball/jack-exit/exit.c +16 -0
- data/test/ressources/ball/joe-exit.tar.bz2 +0 -0
- data/test/ressources/ball/joe-exit/Makefile +14 -0
- data/test/ressources/ball/joe-exit/exit.c +8 -0
- data/test/ressources/ball/joe_i-mini-lib.tar.bz2 +0 -0
- data/test/ressources/ball/joe_i-mini-lib/Makefile +20 -0
- data/test/ressources/ball/joe_i-mini-lib/configure +2 -0
- data/test/ressources/ball/joe_i-mini-lib/my_strlen.c +10 -0
- data/test/ressources/ball/john-exit.tar.bz2 +0 -0
- data/test/ressources/ball/john-exit/Makefile +14 -0
- data/test/ressources/ball/john-exit/exit.c +6 -0
- data/test/ressources/ball/qux_j-mini-lib.tar.bz2 +0 -0
- data/test/ressources/ball/qux_j-mini-lib/Makefile +20 -0
- data/test/ressources/ball/qux_j-mini-lib/my_strlen.c +12 -0
- data/test/ressources/mini-lib/Makefile +9 -0
- data/test/ressources/mini-lib/strlen.c +15 -0
- data/test/ressources/package/pkg_foo.tar.gz +0 -0
- data/test/ressources/package/pkg_foo/Makefile +20 -0
- data/test/ressources/package/pkg_foo/bootstrap +3 -0
- data/test/ressources/package/pkg_foo/configure +3 -0
- data/test/ressources/package/pkg_foo/foo.sh +2 -0
- data/test/ressources/runit/bad.rb +30 -0
- data/test/ressources/runit/error.rb +6 -0
- data/test/ressources/runit/good.rb +30 -0
- data/test/ressources/text/1.txt +4 -0
- data/test/runit/dumpers/xml_test.rb +75 -0
- data/test/runit/dumpers/yaml_test.rb +68 -0
- data/test/runit/fetchers/fetchers_test.rb +48 -0
- data/test/runit/loaders/OYaml_test.rb +35 -0
- data/test/runit/logger/section_node_test.rb +125 -0
- data/test/runit/logger/severity_test.rb +41 -0
- data/test/runit/logger/verbosity_test.rb +49 -0
- data/test/runit/logger_test.rb +295 -0
- data/test/runit/strategies/Strategy/assert_eval_test.rb +196 -0
- data/test/ttk-check +26 -0
- data/test/ttk-dist-suite.yml +44 -0
- data/test/ttk-dist/cat/file.in +3 -0
- data/test/ttk-dist/cat/file.out +3 -0
- data/test/ttk-dist/dist-abort.yml +51 -0
- data/test/ttk-dist/dist-cat.yml +38 -0
- data/test/ttk-dist/dist-delegate.yml +56 -0
- data/test/ttk-dist/dist-dispatch.yml +28 -0
- data/test/ttk-dist/dist-error.yml +10 -0
- data/test/ttk-dist/dist-fail.yml +9 -0
- data/test/ttk-dist/dist-nested-pass.yml +11 -0
- data/test/ttk-dist/dist-pass.yml +8 -0
- data/test/ttk-dist/dist-ribute.yml +31 -0
- data/test/ttk-dist/dist-suite.yml +18 -0
- data/test/ttk-dist/local-fetch.yml +17 -0
- data/test/ttk-dist/tester.yml +36 -0
- data/test/ttk-minimal-suite.yml +12 -0
- data/test/ttk-minimal/author.yml +14 -0
- data/test/ttk-minimal/base.yml +137 -0
- data/test/ttk-minimal/block.yml +15 -0
- data/test/ttk-minimal/cat.yml +19 -0
- data/test/ttk-minimal/diff.yml +29 -0
- data/test/ttk-minimal/env_cmd.yml +54 -0
- data/test/ttk-minimal/exit.yml +17 -0
- data/test/ttk-minimal/fatal.yml +32 -0
- data/test/ttk-minimal/glob.yml +13 -0
- data/test/ttk-minimal/import.yml +33 -0
- data/test/ttk-minimal/killall.yml +36 -0
- data/test/ttk-minimal/pkg.yml +18 -0
- data/test/ttk-minimal/pool.yml +44 -0
- data/test/ttk-minimal/probability_threshold.yml +39 -0
- data/test/ttk-minimal/runit.yml +25 -0
- data/test/ttk-minimal/signal_cmd.yml +24 -0
- data/test/ttk-minimal/sub.yml +9 -0
- data/test/ttk-minimal/test.yml +26 -0
- data/test/ttk-minimal/timeout.yml +24 -0
- data/test/ttk-minimal/unit_test.yml +13 -0
- data/test/ttk-minimal/wc.yml +28 -0
- metadata +801 -0
@@ -0,0 +1,245 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
+
<head>
|
8
|
+
<title>Class: String</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
+
<link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
|
12
|
+
<script type="text/javascript">
|
13
|
+
// <![CDATA[
|
14
|
+
|
15
|
+
function popupCode( url ) {
|
16
|
+
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
+
}
|
18
|
+
|
19
|
+
function toggleCode( id ) {
|
20
|
+
if ( document.getElementById )
|
21
|
+
elem = document.getElementById( id );
|
22
|
+
else if ( document.all )
|
23
|
+
elem = eval( "document.all." + id );
|
24
|
+
else
|
25
|
+
return false;
|
26
|
+
|
27
|
+
elemStyle = elem.style;
|
28
|
+
|
29
|
+
if ( elemStyle.display != "block" ) {
|
30
|
+
elemStyle.display = "block"
|
31
|
+
} else {
|
32
|
+
elemStyle.display = "none"
|
33
|
+
}
|
34
|
+
|
35
|
+
return true;
|
36
|
+
}
|
37
|
+
|
38
|
+
// Make codeblocks hidden by default
|
39
|
+
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
+
|
41
|
+
// ]]>
|
42
|
+
</script>
|
43
|
+
|
44
|
+
</head>
|
45
|
+
<body>
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
<div id="classHeader">
|
50
|
+
<table class="header-table">
|
51
|
+
<tr class="top-aligned-row">
|
52
|
+
<td><strong>Class</strong></td>
|
53
|
+
<td class="class-name-in-header">String</td>
|
54
|
+
</tr>
|
55
|
+
<tr class="top-aligned-row">
|
56
|
+
<td><strong>In:</strong></td>
|
57
|
+
<td>
|
58
|
+
<a href="../files/lib/ttk/dumpers/Xml_rb.html">
|
59
|
+
lib/ttk/dumpers/Xml.rb
|
60
|
+
</a>
|
61
|
+
<br />
|
62
|
+
<a href="../files/lib/ttk/strategies/Streams/Stream_rb.html">
|
63
|
+
lib/ttk/strategies/Streams/Stream.rb
|
64
|
+
</a>
|
65
|
+
<br />
|
66
|
+
<a href="../files/lib/ttk/symtbl_rb.html">
|
67
|
+
lib/ttk/symtbl.rb
|
68
|
+
</a>
|
69
|
+
<br />
|
70
|
+
</td>
|
71
|
+
</tr>
|
72
|
+
|
73
|
+
<tr class="top-aligned-row">
|
74
|
+
<td><strong>Parent:</strong></td>
|
75
|
+
<td>
|
76
|
+
Object
|
77
|
+
</td>
|
78
|
+
</tr>
|
79
|
+
</table>
|
80
|
+
</div>
|
81
|
+
<!-- banner header -->
|
82
|
+
|
83
|
+
<div id="bodyContent">
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
<div id="contextContent">
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
</div>
|
92
|
+
|
93
|
+
<div id="method-list">
|
94
|
+
<h3 class="section-bar">Methods</h3>
|
95
|
+
|
96
|
+
<div class="name-list">
|
97
|
+
<a href="#M000043">compare_stream</a>
|
98
|
+
<a href="#M000044">symtbl_gsub</a>
|
99
|
+
<a href="#M000041">xmlize</a>
|
100
|
+
<a href="#M000042">xmlize_text</a>
|
101
|
+
</div>
|
102
|
+
</div>
|
103
|
+
|
104
|
+
</div>
|
105
|
+
|
106
|
+
|
107
|
+
<!-- if includes -->
|
108
|
+
|
109
|
+
<div id="section">
|
110
|
+
|
111
|
+
|
112
|
+
|
113
|
+
|
114
|
+
|
115
|
+
|
116
|
+
|
117
|
+
|
118
|
+
<!-- if method_list -->
|
119
|
+
<div id="methods">
|
120
|
+
<h3 class="section-bar">Public Instance methods</h3>
|
121
|
+
|
122
|
+
<div id="method-M000043" class="method-detail">
|
123
|
+
<a name="M000043"></a>
|
124
|
+
|
125
|
+
<div class="method-heading">
|
126
|
+
<a href="#M000043" class="method-signature">
|
127
|
+
<span class="method-name">compare_stream</span><span class="method-args">( stream )</span>
|
128
|
+
</a>
|
129
|
+
</div>
|
130
|
+
|
131
|
+
<div class="method-description">
|
132
|
+
<p><a class="source-toggle" href="#"
|
133
|
+
onclick="toggleCode('M000043-source');return false;">[Source]</a></p>
|
134
|
+
<div class="method-source-code" id="M000043-source">
|
135
|
+
<pre>
|
136
|
+
<span class="ruby-comment cmt"># File lib/ttk/strategies/Streams/Stream.rb, line 109</span>
|
137
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">compare_stream</span> ( <span class="ruby-identifier">stream</span> )
|
138
|
+
<span class="ruby-keyword kw">self</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">stream</span>.<span class="ruby-identifier">read</span>
|
139
|
+
<span class="ruby-keyword kw">end</span>
|
140
|
+
</pre>
|
141
|
+
</div>
|
142
|
+
</div>
|
143
|
+
</div>
|
144
|
+
|
145
|
+
<div id="method-M000044" class="method-detail">
|
146
|
+
<a name="M000044"></a>
|
147
|
+
|
148
|
+
<div class="method-heading">
|
149
|
+
<a href="#M000044" class="method-signature">
|
150
|
+
<span class="method-name">symtbl_gsub</span><span class="method-args">( symtbl )</span>
|
151
|
+
</a>
|
152
|
+
</div>
|
153
|
+
|
154
|
+
<div class="method-description">
|
155
|
+
<p><a class="source-toggle" href="#"
|
156
|
+
onclick="toggleCode('M000044-source');return false;">[Source]</a></p>
|
157
|
+
<div class="method-source-code" id="M000044-source">
|
158
|
+
<pre>
|
159
|
+
<span class="ruby-comment cmt"># File lib/ttk/symtbl.rb, line 112</span>
|
160
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">symtbl_gsub</span> ( <span class="ruby-identifier">symtbl</span> )
|
161
|
+
<span class="ruby-keyword kw">return</span> <span class="ruby-identifier">gsub</span>(<span class="ruby-regexp re">/<<(.*?)>>/</span>) { <span class="ruby-identifier">symtbl</span>[<span class="ruby-identifier">$1</span>.<span class="ruby-identifier">to_sym</span>] <span class="ruby-operator">||</span> <span class="ruby-identifier">$&</span> } <span class="ruby-keyword kw">if</span> <span class="ruby-keyword kw">self</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp re">/<<(.*)>>/</span>
|
162
|
+
<span class="ruby-keyword kw">end</span>
|
163
|
+
</pre>
|
164
|
+
</div>
|
165
|
+
</div>
|
166
|
+
</div>
|
167
|
+
|
168
|
+
<div id="method-M000041" class="method-detail">
|
169
|
+
<a name="M000041"></a>
|
170
|
+
|
171
|
+
<div class="method-heading">
|
172
|
+
<a href="#M000041" class="method-signature">
|
173
|
+
<span class="method-name">xmlize</span><span class="method-args">()</span>
|
174
|
+
</a>
|
175
|
+
</div>
|
176
|
+
|
177
|
+
<div class="method-description">
|
178
|
+
<p><a class="source-toggle" href="#"
|
179
|
+
onclick="toggleCode('M000041-source');return false;">[Source]</a></p>
|
180
|
+
<div class="method-source-code" id="M000041-source">
|
181
|
+
<pre>
|
182
|
+
<span class="ruby-comment cmt"># File lib/ttk/dumpers/Xml.rb, line 72</span>
|
183
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">xmlize</span>
|
184
|
+
<span class="ruby-identifier">count</span> = <span class="ruby-value">-1</span>
|
185
|
+
<span class="ruby-identifier">ret</span> = <span class="ruby-value str">''</span>
|
186
|
+
<span class="ruby-identifier">each_byte</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">c</span><span class="ruby-operator">|</span>
|
187
|
+
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">count</span> <span class="ruby-operator">>=</span> <span class="ruby-value">80</span> <span class="ruby-keyword kw">then</span>
|
188
|
+
<span class="ruby-identifier">ret</span> <span class="ruby-operator"><<</span> <span class="ruby-value str">"\\<br />"</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">c</span>
|
189
|
+
<span class="ruby-identifier">count</span> = <span class="ruby-value">0</span>
|
190
|
+
<span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">c</span> <span class="ruby-operator">==</span> <span class="ruby-value">?\n</span> <span class="ruby-keyword kw">then</span>
|
191
|
+
<span class="ruby-identifier">ret</span> <span class="ruby-operator"><<</span> <span class="ruby-value str">'<br />'</span>
|
192
|
+
<span class="ruby-identifier">count</span> = <span class="ruby-value">0</span>
|
193
|
+
<span class="ruby-keyword kw">else</span>
|
194
|
+
<span class="ruby-identifier">ret</span> <span class="ruby-operator"><<</span> <span class="ruby-identifier">c</span>
|
195
|
+
<span class="ruby-identifier">count</span> <span class="ruby-operator">+=</span> <span class="ruby-value">1</span>
|
196
|
+
<span class="ruby-keyword kw">end</span>
|
197
|
+
<span class="ruby-keyword kw">end</span>
|
198
|
+
<span class="ruby-identifier">ret</span>
|
199
|
+
<span class="ruby-keyword kw">end</span>
|
200
|
+
</pre>
|
201
|
+
</div>
|
202
|
+
</div>
|
203
|
+
</div>
|
204
|
+
|
205
|
+
<div id="method-M000042" class="method-detail">
|
206
|
+
<a name="M000042"></a>
|
207
|
+
|
208
|
+
<div class="method-heading">
|
209
|
+
<a href="#M000042" class="method-signature">
|
210
|
+
<span class="method-name">xmlize_text</span><span class="method-args">()</span>
|
211
|
+
</a>
|
212
|
+
</div>
|
213
|
+
|
214
|
+
<div class="method-description">
|
215
|
+
<p><a class="source-toggle" href="#"
|
216
|
+
onclick="toggleCode('M000042-source');return false;">[Source]</a></p>
|
217
|
+
<div class="method-source-code" id="M000042-source">
|
218
|
+
<pre>
|
219
|
+
<span class="ruby-comment cmt"># File lib/ttk/dumpers/Xml.rb, line 90</span>
|
220
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">xmlize_text</span>
|
221
|
+
<span class="ruby-identifier">ret</span> = <span class="ruby-identifier">xmlize</span>
|
222
|
+
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">ret</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp re">/^[\w.,;!?\/@~+=*-]*$/</span>
|
223
|
+
<span class="ruby-identifier">ret</span>
|
224
|
+
<span class="ruby-keyword kw">else</span>
|
225
|
+
<span class="ruby-constant">REXML</span><span class="ruby-operator">::</span><span class="ruby-constant">CData</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">ret</span>)
|
226
|
+
<span class="ruby-keyword kw">end</span>
|
227
|
+
<span class="ruby-keyword kw">end</span>
|
228
|
+
</pre>
|
229
|
+
</div>
|
230
|
+
</div>
|
231
|
+
</div>
|
232
|
+
|
233
|
+
|
234
|
+
</div>
|
235
|
+
|
236
|
+
|
237
|
+
</div>
|
238
|
+
|
239
|
+
|
240
|
+
<div id="validator-badges">
|
241
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
242
|
+
</div>
|
243
|
+
|
244
|
+
</body>
|
245
|
+
</html>
|
@@ -0,0 +1,146 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
+
<head>
|
8
|
+
<title>Class: SymTbl</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
+
<link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
|
12
|
+
<script type="text/javascript">
|
13
|
+
// <![CDATA[
|
14
|
+
|
15
|
+
function popupCode( url ) {
|
16
|
+
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
+
}
|
18
|
+
|
19
|
+
function toggleCode( id ) {
|
20
|
+
if ( document.getElementById )
|
21
|
+
elem = document.getElementById( id );
|
22
|
+
else if ( document.all )
|
23
|
+
elem = eval( "document.all." + id );
|
24
|
+
else
|
25
|
+
return false;
|
26
|
+
|
27
|
+
elemStyle = elem.style;
|
28
|
+
|
29
|
+
if ( elemStyle.display != "block" ) {
|
30
|
+
elemStyle.display = "block"
|
31
|
+
} else {
|
32
|
+
elemStyle.display = "none"
|
33
|
+
}
|
34
|
+
|
35
|
+
return true;
|
36
|
+
}
|
37
|
+
|
38
|
+
// Make codeblocks hidden by default
|
39
|
+
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
+
|
41
|
+
// ]]>
|
42
|
+
</script>
|
43
|
+
|
44
|
+
</head>
|
45
|
+
<body>
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
<div id="classHeader">
|
50
|
+
<table class="header-table">
|
51
|
+
<tr class="top-aligned-row">
|
52
|
+
<td><strong>Class</strong></td>
|
53
|
+
<td class="class-name-in-header">SymTbl</td>
|
54
|
+
</tr>
|
55
|
+
<tr class="top-aligned-row">
|
56
|
+
<td><strong>In:</strong></td>
|
57
|
+
<td>
|
58
|
+
<a href="../files/lib/ttk/symtbl_rb.html">
|
59
|
+
lib/ttk/symtbl.rb
|
60
|
+
</a>
|
61
|
+
<br />
|
62
|
+
</td>
|
63
|
+
</tr>
|
64
|
+
|
65
|
+
<tr class="top-aligned-row">
|
66
|
+
<td><strong>Parent:</strong></td>
|
67
|
+
<td>
|
68
|
+
Object
|
69
|
+
</td>
|
70
|
+
</tr>
|
71
|
+
</table>
|
72
|
+
</div>
|
73
|
+
<!-- banner header -->
|
74
|
+
|
75
|
+
<div id="bodyContent">
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
<div id="contextContent">
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
</div>
|
84
|
+
|
85
|
+
<div id="method-list">
|
86
|
+
<h3 class="section-bar">Methods</h3>
|
87
|
+
|
88
|
+
<div class="name-list">
|
89
|
+
<a href="#M000001">symtbl_gsub</a>
|
90
|
+
</div>
|
91
|
+
</div>
|
92
|
+
|
93
|
+
</div>
|
94
|
+
|
95
|
+
|
96
|
+
<!-- if includes -->
|
97
|
+
|
98
|
+
<div id="section">
|
99
|
+
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
<!-- if method_list -->
|
108
|
+
<div id="methods">
|
109
|
+
<h3 class="section-bar">Public Instance methods</h3>
|
110
|
+
|
111
|
+
<div id="method-M000001" class="method-detail">
|
112
|
+
<a name="M000001"></a>
|
113
|
+
|
114
|
+
<div class="method-heading">
|
115
|
+
<a href="#M000001" class="method-signature">
|
116
|
+
<span class="method-name">symtbl_gsub</span><span class="method-args">( symtbl )</span>
|
117
|
+
</a>
|
118
|
+
</div>
|
119
|
+
|
120
|
+
<div class="method-description">
|
121
|
+
<p><a class="source-toggle" href="#"
|
122
|
+
onclick="toggleCode('M000001-source');return false;">[Source]</a></p>
|
123
|
+
<div class="method-source-code" id="M000001-source">
|
124
|
+
<pre>
|
125
|
+
<span class="ruby-comment cmt"># File lib/ttk/symtbl.rb, line 85</span>
|
126
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">symtbl_gsub</span> ( <span class="ruby-identifier">symtbl</span> )
|
127
|
+
<span class="ruby-keyword kw">nil</span>
|
128
|
+
<span class="ruby-keyword kw">end</span>
|
129
|
+
</pre>
|
130
|
+
</div>
|
131
|
+
</div>
|
132
|
+
</div>
|
133
|
+
|
134
|
+
|
135
|
+
</div>
|
136
|
+
|
137
|
+
|
138
|
+
</div>
|
139
|
+
|
140
|
+
|
141
|
+
<div id="validator-badges">
|
142
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
143
|
+
</div>
|
144
|
+
|
145
|
+
</body>
|
146
|
+
</html>
|
@@ -0,0 +1,658 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
+
<head>
|
8
|
+
<title>Module: TTK</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
+
<link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
|
12
|
+
<script type="text/javascript">
|
13
|
+
// <![CDATA[
|
14
|
+
|
15
|
+
function popupCode( url ) {
|
16
|
+
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
+
}
|
18
|
+
|
19
|
+
function toggleCode( id ) {
|
20
|
+
if ( document.getElementById )
|
21
|
+
elem = document.getElementById( id );
|
22
|
+
else if ( document.all )
|
23
|
+
elem = eval( "document.all." + id );
|
24
|
+
else
|
25
|
+
return false;
|
26
|
+
|
27
|
+
elemStyle = elem.style;
|
28
|
+
|
29
|
+
if ( elemStyle.display != "block" ) {
|
30
|
+
elemStyle.display = "block"
|
31
|
+
} else {
|
32
|
+
elemStyle.display = "none"
|
33
|
+
}
|
34
|
+
|
35
|
+
return true;
|
36
|
+
}
|
37
|
+
|
38
|
+
// Make codeblocks hidden by default
|
39
|
+
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
+
|
41
|
+
// ]]>
|
42
|
+
</script>
|
43
|
+
|
44
|
+
</head>
|
45
|
+
<body>
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
<div id="classHeader">
|
50
|
+
<table class="header-table">
|
51
|
+
<tr class="top-aligned-row">
|
52
|
+
<td><strong>Module</strong></td>
|
53
|
+
<td class="class-name-in-header">TTK</td>
|
54
|
+
</tr>
|
55
|
+
<tr class="top-aligned-row">
|
56
|
+
<td><strong>In:</strong></td>
|
57
|
+
<td>
|
58
|
+
<a href="../files/lib/ttk/Tools/HostDispatcher_rb.html">
|
59
|
+
lib/ttk/Tools/HostDispatcher.rb
|
60
|
+
</a>
|
61
|
+
<br />
|
62
|
+
<a href="../files/lib/ttk/daemons/daemon/logger_rb.html">
|
63
|
+
lib/ttk/daemons/daemon/logger.rb
|
64
|
+
</a>
|
65
|
+
<br />
|
66
|
+
<a href="../files/lib/ttk/daemons/Daemon_rb.html">
|
67
|
+
lib/ttk/daemons/Daemon.rb
|
68
|
+
</a>
|
69
|
+
<br />
|
70
|
+
<a href="../files/lib/ttk/daemons/Slave_rb.html">
|
71
|
+
lib/ttk/daemons/Slave.rb
|
72
|
+
</a>
|
73
|
+
<br />
|
74
|
+
<a href="../files/lib/ttk/daemons/Master_rb.html">
|
75
|
+
lib/ttk/daemons/Master.rb
|
76
|
+
</a>
|
77
|
+
<br />
|
78
|
+
<a href="../files/lib/ttk/dumpers/Notif_rb.html">
|
79
|
+
lib/ttk/dumpers/Notif.rb
|
80
|
+
</a>
|
81
|
+
<br />
|
82
|
+
<a href="../files/lib/ttk/dumpers/Xml_rb.html">
|
83
|
+
lib/ttk/dumpers/Xml.rb
|
84
|
+
</a>
|
85
|
+
<br />
|
86
|
+
<a href="../files/lib/ttk/dumpers/Yaml_rb.html">
|
87
|
+
lib/ttk/dumpers/Yaml.rb
|
88
|
+
</a>
|
89
|
+
<br />
|
90
|
+
<a href="../files/lib/ttk/dumpers/Dumper_rb.html">
|
91
|
+
lib/ttk/dumpers/Dumper.rb
|
92
|
+
</a>
|
93
|
+
<br />
|
94
|
+
<a href="../files/lib/ttk/fetchers/Server_rb.html">
|
95
|
+
lib/ttk/fetchers/Server.rb
|
96
|
+
</a>
|
97
|
+
<br />
|
98
|
+
<a href="../files/lib/ttk/fetchers/server/sender_rb.html">
|
99
|
+
lib/ttk/fetchers/server/sender.rb
|
100
|
+
</a>
|
101
|
+
<br />
|
102
|
+
<a href="../files/lib/ttk/fetchers/client/receiver_rb.html">
|
103
|
+
lib/ttk/fetchers/client/receiver.rb
|
104
|
+
</a>
|
105
|
+
<br />
|
106
|
+
<a href="../files/lib/ttk/fetchers/Client_rb.html">
|
107
|
+
lib/ttk/fetchers/Client.rb
|
108
|
+
</a>
|
109
|
+
<br />
|
110
|
+
<a href="../files/lib/ttk/loaders/YamlOld_rb.html">
|
111
|
+
lib/ttk/loaders/YamlOld.rb
|
112
|
+
</a>
|
113
|
+
<br />
|
114
|
+
<a href="../files/lib/ttk/loaders/OYaml_rb.html">
|
115
|
+
lib/ttk/loaders/OYaml.rb
|
116
|
+
</a>
|
117
|
+
<br />
|
118
|
+
<a href="../files/lib/ttk/loaders/Loader_rb.html">
|
119
|
+
lib/ttk/loaders/Loader.rb
|
120
|
+
</a>
|
121
|
+
<br />
|
122
|
+
<a href="../files/lib/ttk/loaders/Yaml_rb.html">
|
123
|
+
lib/ttk/loaders/Yaml.rb
|
124
|
+
</a>
|
125
|
+
<br />
|
126
|
+
<a href="../files/lib/ttk/monitors/Server_rb.html">
|
127
|
+
lib/ttk/monitors/Server.rb
|
128
|
+
</a>
|
129
|
+
<br />
|
130
|
+
<a href="../files/lib/ttk/monitors/Client_rb.html">
|
131
|
+
lib/ttk/monitors/Client.rb
|
132
|
+
</a>
|
133
|
+
<br />
|
134
|
+
<a href="../files/lib/ttk/monitors/Monitor_rb.html">
|
135
|
+
lib/ttk/monitors/Monitor.rb
|
136
|
+
</a>
|
137
|
+
<br />
|
138
|
+
<a href="../files/lib/ttk/services/FetcherClient_rb.html">
|
139
|
+
lib/ttk/services/FetcherClient.rb
|
140
|
+
</a>
|
141
|
+
<br />
|
142
|
+
<a href="../files/lib/ttk/services/TesterSlave_rb.html">
|
143
|
+
lib/ttk/services/TesterSlave.rb
|
144
|
+
</a>
|
145
|
+
<br />
|
146
|
+
<a href="../files/lib/ttk/services/TesterMaster_rb.html">
|
147
|
+
lib/ttk/services/TesterMaster.rb
|
148
|
+
</a>
|
149
|
+
<br />
|
150
|
+
<a href="../files/lib/ttk/services/TesterClient_rb.html">
|
151
|
+
lib/ttk/services/TesterClient.rb
|
152
|
+
</a>
|
153
|
+
<br />
|
154
|
+
<a href="../files/lib/ttk/services/FetcherServer_rb.html">
|
155
|
+
lib/ttk/services/FetcherServer.rb
|
156
|
+
</a>
|
157
|
+
<br />
|
158
|
+
<a href="../files/lib/ttk/services/MonitorClient_rb.html">
|
159
|
+
lib/ttk/services/MonitorClient.rb
|
160
|
+
</a>
|
161
|
+
<br />
|
162
|
+
<a href="../files/lib/ttk/services/MonitorServer_rb.html">
|
163
|
+
lib/ttk/services/MonitorServer.rb
|
164
|
+
</a>
|
165
|
+
<br />
|
166
|
+
<a href="../files/lib/ttk/services/DRbService/sub_testable_rb.html">
|
167
|
+
lib/ttk/services/DRbService/sub_testable.rb
|
168
|
+
</a>
|
169
|
+
<br />
|
170
|
+
<a href="../files/lib/ttk/services/DRbService_rb.html">
|
171
|
+
lib/ttk/services/DRbService.rb
|
172
|
+
</a>
|
173
|
+
<br />
|
174
|
+
<a href="../files/lib/ttk/strategies/Bootstrap_rb.html">
|
175
|
+
lib/ttk/strategies/Bootstrap.rb
|
176
|
+
</a>
|
177
|
+
<br />
|
178
|
+
<a href="../files/lib/ttk/strategies/Make_rb.html">
|
179
|
+
lib/ttk/strategies/Make.rb
|
180
|
+
</a>
|
181
|
+
<br />
|
182
|
+
<a href="../files/lib/ttk/strategies/SubCmd_rb.html">
|
183
|
+
lib/ttk/strategies/SubCmd.rb
|
184
|
+
</a>
|
185
|
+
<br />
|
186
|
+
<a href="../files/lib/ttk/strategies/RemoteCmd_rb.html">
|
187
|
+
lib/ttk/strategies/RemoteCmd.rb
|
188
|
+
</a>
|
189
|
+
<br />
|
190
|
+
<a href="../files/lib/ttk/strategies/Test_rb.html">
|
191
|
+
lib/ttk/strategies/Test.rb
|
192
|
+
</a>
|
193
|
+
<br />
|
194
|
+
<a href="../files/lib/ttk/strategies/Fetcher_rb.html">
|
195
|
+
lib/ttk/strategies/Fetcher.rb
|
196
|
+
</a>
|
197
|
+
<br />
|
198
|
+
<a href="../files/lib/ttk/strategies/PackageCollection_rb.html">
|
199
|
+
lib/ttk/strategies/PackageCollection.rb
|
200
|
+
</a>
|
201
|
+
<br />
|
202
|
+
<a href="../files/lib/ttk/strategies/DistDuplicate_rb.html">
|
203
|
+
lib/ttk/strategies/DistDuplicate.rb
|
204
|
+
</a>
|
205
|
+
<br />
|
206
|
+
<a href="../files/lib/ttk/strategies/Glob_rb.html">
|
207
|
+
lib/ttk/strategies/Glob.rb
|
208
|
+
</a>
|
209
|
+
<br />
|
210
|
+
<a href="../files/lib/ttk/strategies/Authors_rb.html">
|
211
|
+
lib/ttk/strategies/Authors.rb
|
212
|
+
</a>
|
213
|
+
<br />
|
214
|
+
<a href="../files/lib/ttk/strategies/Compile_rb.html">
|
215
|
+
lib/ttk/strategies/Compile.rb
|
216
|
+
</a>
|
217
|
+
<br />
|
218
|
+
<a href="../files/lib/ttk/strategies/Package_rb.html">
|
219
|
+
lib/ttk/strategies/Package.rb
|
220
|
+
</a>
|
221
|
+
<br />
|
222
|
+
<a href="../files/lib/ttk/strategies/Streams/Stream_rb.html">
|
223
|
+
lib/ttk/strategies/Streams/Stream.rb
|
224
|
+
</a>
|
225
|
+
<br />
|
226
|
+
<a href="../files/lib/ttk/strategies/Streams/Diff_rb.html">
|
227
|
+
lib/ttk/strategies/Streams/Diff.rb
|
228
|
+
</a>
|
229
|
+
<br />
|
230
|
+
<a href="../files/lib/ttk/strategies/Strategy/assert_eval_rb.html">
|
231
|
+
lib/ttk/strategies/Strategy/assert_eval.rb
|
232
|
+
</a>
|
233
|
+
<br />
|
234
|
+
<a href="../files/lib/ttk/strategies/Strategy_rb.html">
|
235
|
+
lib/ttk/strategies/Strategy.rb
|
236
|
+
</a>
|
237
|
+
<br />
|
238
|
+
<a href="../files/lib/ttk/strategies/Composite_rb.html">
|
239
|
+
lib/ttk/strategies/Composite.rb
|
240
|
+
</a>
|
241
|
+
<br />
|
242
|
+
<a href="../files/lib/ttk/strategies/Tester_rb.html">
|
243
|
+
lib/ttk/strategies/Tester.rb
|
244
|
+
</a>
|
245
|
+
<br />
|
246
|
+
<a href="../files/lib/ttk/strategies/Pass_rb.html">
|
247
|
+
lib/ttk/strategies/Pass.rb
|
248
|
+
</a>
|
249
|
+
<br />
|
250
|
+
<a href="../files/lib/ttk/strategies/Ball_rb.html">
|
251
|
+
lib/ttk/strategies/Ball.rb
|
252
|
+
</a>
|
253
|
+
<br />
|
254
|
+
<a href="../files/lib/ttk/strategies/Extract_rb.html">
|
255
|
+
lib/ttk/strategies/Extract.rb
|
256
|
+
</a>
|
257
|
+
<br />
|
258
|
+
<a href="../files/lib/ttk/strategies/Fail_rb.html">
|
259
|
+
lib/ttk/strategies/Fail.rb
|
260
|
+
</a>
|
261
|
+
<br />
|
262
|
+
<a href="../files/lib/ttk/strategies/Stub_rb.html">
|
263
|
+
lib/ttk/strategies/Stub.rb
|
264
|
+
</a>
|
265
|
+
<br />
|
266
|
+
<a href="../files/lib/ttk/strategies/Configure_rb.html">
|
267
|
+
lib/ttk/strategies/Configure.rb
|
268
|
+
</a>
|
269
|
+
<br />
|
270
|
+
<a href="../files/lib/ttk/strategies/Clean_rb.html">
|
271
|
+
lib/ttk/strategies/Clean.rb
|
272
|
+
</a>
|
273
|
+
<br />
|
274
|
+
<a href="../files/lib/ttk/strategies/KillAll_rb.html">
|
275
|
+
lib/ttk/strategies/KillAll.rb
|
276
|
+
</a>
|
277
|
+
<br />
|
278
|
+
<a href="../files/lib/ttk/strategies/Fetch_rb.html">
|
279
|
+
lib/ttk/strategies/Fetch.rb
|
280
|
+
</a>
|
281
|
+
<br />
|
282
|
+
<a href="../files/lib/ttk/strategies/Error_rb.html">
|
283
|
+
lib/ttk/strategies/Error.rb
|
284
|
+
</a>
|
285
|
+
<br />
|
286
|
+
<a href="../files/lib/ttk/strategies/JUnit_rb.html">
|
287
|
+
lib/ttk/strategies/JUnit.rb
|
288
|
+
</a>
|
289
|
+
<br />
|
290
|
+
<a href="../files/lib/ttk/strategies/Suite_rb.html">
|
291
|
+
lib/ttk/strategies/Suite.rb
|
292
|
+
</a>
|
293
|
+
<br />
|
294
|
+
<a href="../files/lib/ttk/strategies/Block_rb.html">
|
295
|
+
lib/ttk/strategies/Block.rb
|
296
|
+
</a>
|
297
|
+
<br />
|
298
|
+
<a href="../files/lib/ttk/strategies/Collection_rb.html">
|
299
|
+
lib/ttk/strategies/Collection.rb
|
300
|
+
</a>
|
301
|
+
<br />
|
302
|
+
<a href="../files/lib/ttk/strategies/CmdBase_rb.html">
|
303
|
+
lib/ttk/strategies/CmdBase.rb
|
304
|
+
</a>
|
305
|
+
<br />
|
306
|
+
<a href="../files/lib/ttk/strategies/RUnit_rb.html">
|
307
|
+
lib/ttk/strategies/RUnit.rb
|
308
|
+
</a>
|
309
|
+
<br />
|
310
|
+
<a href="../files/lib/ttk/strategies/Cmd_rb.html">
|
311
|
+
lib/ttk/strategies/Cmd.rb
|
312
|
+
</a>
|
313
|
+
<br />
|
314
|
+
<a href="../files/lib/ttk/strategies/Checkout_rb.html">
|
315
|
+
lib/ttk/strategies/Checkout.rb
|
316
|
+
</a>
|
317
|
+
<br />
|
318
|
+
<a href="../files/lib/ttk/strategies/Import_rb.html">
|
319
|
+
lib/ttk/strategies/Import.rb
|
320
|
+
</a>
|
321
|
+
<br />
|
322
|
+
<a href="../files/lib/ttk/strategies/Abort_rb.html">
|
323
|
+
lib/ttk/strategies/Abort.rb
|
324
|
+
</a>
|
325
|
+
<br />
|
326
|
+
<a href="../files/lib/ttk/strategies/Sleep_rb.html">
|
327
|
+
lib/ttk/strategies/Sleep.rb
|
328
|
+
</a>
|
329
|
+
<br />
|
330
|
+
<a href="../files/lib/ttk/strategies/Pool_rb.html">
|
331
|
+
lib/ttk/strategies/Pool.rb
|
332
|
+
</a>
|
333
|
+
<br />
|
334
|
+
<a href="../files/lib/ttk/strategies/SqlQuery_rb.html">
|
335
|
+
lib/ttk/strategies/SqlQuery.rb
|
336
|
+
</a>
|
337
|
+
<br />
|
338
|
+
<a href="../files/lib/ttk/strategies/Proxy_rb.html">
|
339
|
+
lib/ttk/strategies/Proxy.rb
|
340
|
+
</a>
|
341
|
+
<br />
|
342
|
+
<a href="../files/lib/ttk/strategies/DistStrategy_rb.html">
|
343
|
+
lib/ttk/strategies/DistStrategy.rb
|
344
|
+
</a>
|
345
|
+
<br />
|
346
|
+
<a href="../files/lib/ttk/strategies/DistDelegate_rb.html">
|
347
|
+
lib/ttk/strategies/DistDelegate.rb
|
348
|
+
</a>
|
349
|
+
<br />
|
350
|
+
<a href="../files/lib/ttk/strategies/SignalCmd_rb.html">
|
351
|
+
lib/ttk/strategies/SignalCmd.rb
|
352
|
+
</a>
|
353
|
+
<br />
|
354
|
+
<a href="../files/lib/ttk/strategies/ProbabilityThreshold_rb.html">
|
355
|
+
lib/ttk/strategies/ProbabilityThreshold.rb
|
356
|
+
</a>
|
357
|
+
<br />
|
358
|
+
<a href="../files/lib/ttk/strategies/IOBased_rb.html">
|
359
|
+
lib/ttk/strategies/IOBased.rb
|
360
|
+
</a>
|
361
|
+
<br />
|
362
|
+
<a href="../files/lib/ttk/strategies/Distribute_rb.html">
|
363
|
+
lib/ttk/strategies/Distribute.rb
|
364
|
+
</a>
|
365
|
+
<br />
|
366
|
+
<a href="../files/lib/ttk/status_rb.html">
|
367
|
+
lib/ttk/status.rb
|
368
|
+
</a>
|
369
|
+
<br />
|
370
|
+
<a href="../files/lib/ttk/testers/tester/notifier_rb.html">
|
371
|
+
lib/ttk/testers/tester/notifier.rb
|
372
|
+
</a>
|
373
|
+
<br />
|
374
|
+
<a href="../files/lib/ttk/testers/tester/query_node_rb.html">
|
375
|
+
lib/ttk/testers/tester/query_node.rb
|
376
|
+
</a>
|
377
|
+
<br />
|
378
|
+
<a href="../files/lib/ttk/testers/tester/config_rb.html">
|
379
|
+
lib/ttk/testers/tester/config.rb
|
380
|
+
</a>
|
381
|
+
<br />
|
382
|
+
<a href="../files/lib/ttk/testers/tester/remote_status_rb.html">
|
383
|
+
lib/ttk/testers/tester/remote_status.rb
|
384
|
+
</a>
|
385
|
+
<br />
|
386
|
+
<a href="../files/lib/ttk/testers/tester/score_rb.html">
|
387
|
+
lib/ttk/testers/tester/score.rb
|
388
|
+
</a>
|
389
|
+
<br />
|
390
|
+
<a href="../files/lib/ttk/testers/tester/running_task_rb.html">
|
391
|
+
lib/ttk/testers/tester/running_task.rb
|
392
|
+
</a>
|
393
|
+
<br />
|
394
|
+
<a href="../files/lib/ttk/testers/Tester_rb.html">
|
395
|
+
lib/ttk/testers/Tester.rb
|
396
|
+
</a>
|
397
|
+
<br />
|
398
|
+
<a href="../files/lib/ttk/testers/Slave_rb.html">
|
399
|
+
lib/ttk/testers/Slave.rb
|
400
|
+
</a>
|
401
|
+
<br />
|
402
|
+
<a href="../files/lib/ttk/testers/Master_rb.html">
|
403
|
+
lib/ttk/testers/Master.rb
|
404
|
+
</a>
|
405
|
+
<br />
|
406
|
+
<a href="../files/lib/ttk/weights/Weight_rb.html">
|
407
|
+
lib/ttk/weights/Weight.rb
|
408
|
+
</a>
|
409
|
+
<br />
|
410
|
+
<a href="../files/lib/ttk/weights/WExpr_rb.html">
|
411
|
+
lib/ttk/weights/WExpr.rb
|
412
|
+
</a>
|
413
|
+
<br />
|
414
|
+
<a href="../files/lib/ttk/weights/WFloat_rb.html">
|
415
|
+
lib/ttk/weights/WFloat.rb
|
416
|
+
</a>
|
417
|
+
<br />
|
418
|
+
<a href="../files/lib/ttk/weights/WMin_rb.html">
|
419
|
+
lib/ttk/weights/WMin.rb
|
420
|
+
</a>
|
421
|
+
<br />
|
422
|
+
<a href="../files/lib/ttk/filters/Saver_rb.html">
|
423
|
+
lib/ttk/filters/Saver.rb
|
424
|
+
</a>
|
425
|
+
<br />
|
426
|
+
<a href="../files/lib/ttk/filters/BasicLogger_rb.html">
|
427
|
+
lib/ttk/filters/BasicLogger.rb
|
428
|
+
</a>
|
429
|
+
<br />
|
430
|
+
<a href="../files/lib/ttk/filters/Filter_rb.html">
|
431
|
+
lib/ttk/filters/Filter.rb
|
432
|
+
</a>
|
433
|
+
<br />
|
434
|
+
<a href="../files/lib/ttk/logger/verbosity_rb.html">
|
435
|
+
lib/ttk/logger/verbosity.rb
|
436
|
+
</a>
|
437
|
+
<br />
|
438
|
+
<a href="../files/lib/ttk/logger/severity_rb.html">
|
439
|
+
lib/ttk/logger/severity.rb
|
440
|
+
</a>
|
441
|
+
<br />
|
442
|
+
<a href="../files/lib/ttk/logger/section_node_rb.html">
|
443
|
+
lib/ttk/logger/section_node.rb
|
444
|
+
</a>
|
445
|
+
<br />
|
446
|
+
<a href="../files/lib/ttk/logger/path_rb.html">
|
447
|
+
lib/ttk/logger/path.rb
|
448
|
+
</a>
|
449
|
+
<br />
|
450
|
+
<a href="../files/lib/ttk/logger/to_ttk_log_rb.html">
|
451
|
+
lib/ttk/logger/to_ttk_log.rb
|
452
|
+
</a>
|
453
|
+
<br />
|
454
|
+
<a href="../files/lib/ttk/logger_rb.html">
|
455
|
+
lib/ttk/logger.rb
|
456
|
+
</a>
|
457
|
+
<br />
|
458
|
+
<a href="../files/lib/ttk/symtbl_rb.html">
|
459
|
+
lib/ttk/symtbl.rb
|
460
|
+
</a>
|
461
|
+
<br />
|
462
|
+
<a href="../files/lib/ttk/logger_factory_rb.html">
|
463
|
+
lib/ttk/logger_factory.rb
|
464
|
+
</a>
|
465
|
+
<br />
|
466
|
+
<a href="../files/lib/ttk/dumpers/Dumper_rb.html">
|
467
|
+
lib/ttk/dumpers/Dumper.rb
|
468
|
+
</a>
|
469
|
+
<br />
|
470
|
+
<a href="../files/lib/ttk/loaders/Loader_rb.html">
|
471
|
+
lib/ttk/loaders/Loader.rb
|
472
|
+
</a>
|
473
|
+
<br />
|
474
|
+
<a href="../files/lib/ttk/strategies/Strategy_rb.html">
|
475
|
+
lib/ttk/strategies/Strategy.rb
|
476
|
+
</a>
|
477
|
+
<br />
|
478
|
+
<a href="../files/lib/ttk/filters/Filter_rb.html">
|
479
|
+
lib/ttk/filters/Filter.rb
|
480
|
+
</a>
|
481
|
+
<br />
|
482
|
+
<a href="../files/lib/ttk/weights/Weight_rb.html">
|
483
|
+
lib/ttk/weights/Weight.rb
|
484
|
+
</a>
|
485
|
+
<br />
|
486
|
+
<a href="../files/lib/ttkd_rb.html">
|
487
|
+
lib/ttkd.rb
|
488
|
+
</a>
|
489
|
+
<br />
|
490
|
+
<a href="../files/lib/ttk_rb.html">
|
491
|
+
lib/ttk.rb
|
492
|
+
</a>
|
493
|
+
<br />
|
494
|
+
</td>
|
495
|
+
</tr>
|
496
|
+
|
497
|
+
</table>
|
498
|
+
</div>
|
499
|
+
<!-- banner header -->
|
500
|
+
|
501
|
+
<div id="bodyContent">
|
502
|
+
|
503
|
+
|
504
|
+
|
505
|
+
<div id="contextContent">
|
506
|
+
|
507
|
+
<div id="description">
|
508
|
+
<h1>Introduction</h1>
|
509
|
+
<p>
|
510
|
+
This is the <a href="TTK.html">TTK</a> namespace. All <a
|
511
|
+
href="TTK.html">TTK</a> is included into this namespace. This module
|
512
|
+
provides some function to set up and run a <a href="TTK.html">TTK</a>
|
513
|
+
pipeline.
|
514
|
+
</p>
|
515
|
+
<h1>How to use <a href="TTK.html">TTK</a> as a library</h1>
|
516
|
+
<p>
|
517
|
+
FIXME: document me
|
518
|
+
</p>
|
519
|
+
|
520
|
+
</div>
|
521
|
+
|
522
|
+
|
523
|
+
</div>
|
524
|
+
|
525
|
+
<div id="method-list">
|
526
|
+
<h3 class="section-bar">Methods</h3>
|
527
|
+
|
528
|
+
<div class="name-list">
|
529
|
+
<a href="#M000045">pathname_to_class</a>
|
530
|
+
</div>
|
531
|
+
</div>
|
532
|
+
|
533
|
+
</div>
|
534
|
+
|
535
|
+
|
536
|
+
<!-- if includes -->
|
537
|
+
|
538
|
+
<div id="section">
|
539
|
+
|
540
|
+
<div id="class-list">
|
541
|
+
<h3 class="section-bar">Classes and Modules</h3>
|
542
|
+
|
543
|
+
Module <a href="TTK/Daemons.html" class="link">TTK::Daemons</a><br />
|
544
|
+
Module <a href="TTK/Dumpers.html" class="link">TTK::Dumpers</a><br />
|
545
|
+
Module <a href="TTK/Fetchers.html" class="link">TTK::Fetchers</a><br />
|
546
|
+
Module <a href="TTK/Filters.html" class="link">TTK::Filters</a><br />
|
547
|
+
Module <a href="TTK/Loaders.html" class="link">TTK::Loaders</a><br />
|
548
|
+
Module <a href="TTK/Monitors.html" class="link">TTK::Monitors</a><br />
|
549
|
+
Module <a href="TTK/Services.html" class="link">TTK::Services</a><br />
|
550
|
+
Module <a href="TTK/Strategies.html" class="link">TTK::Strategies</a><br />
|
551
|
+
Module <a href="TTK/Streams.html" class="link">TTK::Streams</a><br />
|
552
|
+
Module <a href="TTK/TTKModule.html" class="link">TTK::TTKModule</a><br />
|
553
|
+
Module <a href="TTK/Testers.html" class="link">TTK::Testers</a><br />
|
554
|
+
Module <a href="TTK/Tools.html" class="link">TTK::Tools</a><br />
|
555
|
+
Module <a href="TTK/Weights.html" class="link">TTK::Weights</a><br />
|
556
|
+
Class <a href="TTK/AbortStatus.html" class="link">TTK::AbortStatus</a><br />
|
557
|
+
Class <a href="TTK/ErrorStatus.html" class="link">TTK::ErrorStatus</a><br />
|
558
|
+
Class <a href="TTK/FailStatus.html" class="link">TTK::FailStatus</a><br />
|
559
|
+
Class <a href="TTK/Logger.html" class="link">TTK::Logger</a><br />
|
560
|
+
Class <a href="TTK/LoggerFactory.html" class="link">TTK::LoggerFactory</a><br />
|
561
|
+
Class <a href="TTK/PassStatus.html" class="link">TTK::PassStatus</a><br />
|
562
|
+
Class <a href="TTK/RunningStatus.html" class="link">TTK::RunningStatus</a><br />
|
563
|
+
Class <a href="TTK/SkipStatus.html" class="link">TTK::SkipStatus</a><br />
|
564
|
+
Class <a href="TTK/StartStatus.html" class="link">TTK::StartStatus</a><br />
|
565
|
+
Class <a href="TTK/Status.html" class="link">TTK::Status</a><br />
|
566
|
+
Class <a href="TTK/StatusException.html" class="link">TTK::StatusException</a><br />
|
567
|
+
Class <a href="TTK/StatusWithMessage.html" class="link">TTK::StatusWithMessage</a><br />
|
568
|
+
Class <a href="TTK/SymTbl.html" class="link">TTK::SymTbl</a><br />
|
569
|
+
Class <a href="TTK/TTKException.html" class="link">TTK::TTKException</a><br />
|
570
|
+
Class <a href="TTK/TimeoutAbortStatus.html" class="link">TTK::TimeoutAbortStatus</a><br />
|
571
|
+
|
572
|
+
</div>
|
573
|
+
|
574
|
+
<div id="constants-list">
|
575
|
+
<h3 class="section-bar">Constants</h3>
|
576
|
+
|
577
|
+
<div class="name-list">
|
578
|
+
<table summary="Constants">
|
579
|
+
<tr class="top-aligned-row context-row">
|
580
|
+
<td class="context-item-name">ABS_ME</td>
|
581
|
+
<td>=</td>
|
582
|
+
<td class="context-item-value">Pathname.new($0).expand_path</td>
|
583
|
+
</tr>
|
584
|
+
<tr class="top-aligned-row context-row">
|
585
|
+
<td class="context-item-name">SRC_DIR</td>
|
586
|
+
<td>=</td>
|
587
|
+
<td class="context-item-value">Pathname.new(__FILE__).dirname + 'ttk'</td>
|
588
|
+
</tr>
|
589
|
+
<tr class="top-aligned-row context-row">
|
590
|
+
<td class="context-item-name">RUBY_EX_DIR</td>
|
591
|
+
<td>=</td>
|
592
|
+
<td class="context-item-value">(SRC_DIR + '../../ruby_ex').cleanpath</td>
|
593
|
+
</tr>
|
594
|
+
<tr class="top-aligned-row context-row">
|
595
|
+
<td class="context-item-name">ABS_RUBY_EX_DIR</td>
|
596
|
+
<td>=</td>
|
597
|
+
<td class="context-item-value">RUBY_EX_DIR.expand_path</td>
|
598
|
+
</tr>
|
599
|
+
</table>
|
600
|
+
</div>
|
601
|
+
</div>
|
602
|
+
|
603
|
+
|
604
|
+
|
605
|
+
|
606
|
+
|
607
|
+
|
608
|
+
<!-- if method_list -->
|
609
|
+
<div id="methods">
|
610
|
+
<h3 class="section-bar">Public Instance methods</h3>
|
611
|
+
|
612
|
+
<div id="method-M000045" class="method-detail">
|
613
|
+
<a name="M000045"></a>
|
614
|
+
|
615
|
+
<div class="method-heading">
|
616
|
+
<a href="#M000045" class="method-signature">
|
617
|
+
<span class="method-name">pathname_to_class</span><span class="method-args">(p)</span>
|
618
|
+
</a>
|
619
|
+
</div>
|
620
|
+
|
621
|
+
<div class="method-description">
|
622
|
+
<p>
|
623
|
+
Autoload modules
|
624
|
+
</p>
|
625
|
+
<p><a class="source-toggle" href="#"
|
626
|
+
onclick="toggleCode('M000045-source');return false;">[Source]</a></p>
|
627
|
+
<div class="method-source-code" id="M000045-source">
|
628
|
+
<pre>
|
629
|
+
<span class="ruby-comment cmt"># File lib/ttk.rb, line 64</span>
|
630
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pathname_to_class</span>(<span class="ruby-identifier">p</span>)
|
631
|
+
<span class="ruby-identifier">const</span> = <span class="ruby-identifier">p</span>.<span class="ruby-identifier">basename</span>.<span class="ruby-identifier">to_s</span>.<span class="ruby-identifier">sub</span>(<span class="ruby-regexp re">/\.rb$/</span>, <span class="ruby-value str">''</span>)
|
632
|
+
<span class="ruby-keyword kw">if</span> <span class="ruby-identifier">const</span> <span class="ruby-operator">=~</span> <span class="ruby-constant">ConstRegexp</span><span class="ruby-operator">::</span><span class="ruby-constant">RB_CONST</span>
|
633
|
+
<span class="ruby-identifier">const</span>
|
634
|
+
<span class="ruby-keyword kw">else</span>
|
635
|
+
<span class="ruby-identifier">raise</span>(<span class="ruby-constant">ArgumentError</span>,
|
636
|
+
<span class="ruby-node">"`#{p.to_s}' - your file doesn't follow our convention, "</span> <span class="ruby-operator">+</span>
|
637
|
+
<span class="ruby-value str">"the filename must be equal to the class name you declared into."</span>)
|
638
|
+
<span class="ruby-keyword kw">nil</span>
|
639
|
+
<span class="ruby-keyword kw">end</span>
|
640
|
+
<span class="ruby-keyword kw">end</span>
|
641
|
+
</pre>
|
642
|
+
</div>
|
643
|
+
</div>
|
644
|
+
</div>
|
645
|
+
|
646
|
+
|
647
|
+
</div>
|
648
|
+
|
649
|
+
|
650
|
+
</div>
|
651
|
+
|
652
|
+
|
653
|
+
<div id="validator-badges">
|
654
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
655
|
+
</div>
|
656
|
+
|
657
|
+
</body>
|
658
|
+
</html>
|