Module: TTK
- Defined in:
- lib/ttk.rb,
lib/ttkd.rb,
lib/ttk/logger.rb,
lib/ttk/status.rb,
lib/ttk/symtbl.rb,
lib/ttk/dumpers/Xml.rb,
lib/ttk/logger/path.rb,
lib/ttk/dumpers/Yaml.rb,
lib/ttk/loaders/Yaml.rb,
lib/ttk/weights/WMin.rb,
lib/ttk/daemons/Slave.rb,
lib/ttk/dumpers/Basic.rb,
lib/ttk/dumpers/Notif.rb,
lib/ttk/filters/Saver.rb,
lib/ttk/testers/Slave.rb,
lib/ttk/weights/WExpr.rb,
lib/ttk/daemons/Daemon.rb,
lib/ttk/daemons/Master.rb,
lib/ttk/dumpers/Dumper.rb,
lib/ttk/filters/Filter.rb,
lib/ttk/loaders/Loader.rb,
lib/ttk/logger_factory.rb,
lib/ttk/strategies/Cmd.rb,
lib/ttk/testers/Master.rb,
lib/ttk/testers/Tester.rb,
lib/ttk/weights/WFloat.rb,
lib/ttk/weights/Weight.rb,
lib/ttk/fetchers/Client.rb,
lib/ttk/fetchers/Server.rb,
lib/ttk/logger/severity.rb,
lib/ttk/monitors/Client.rb,
lib/ttk/monitors/Server.rb,
lib/ttk/strategies/Ball.rb,
lib/ttk/strategies/Fail.rb,
lib/ttk/strategies/Glob.rb,
lib/ttk/strategies/Make.rb,
lib/ttk/strategies/Pass.rb,
lib/ttk/strategies/Pool.rb,
lib/ttk/strategies/Stub.rb,
lib/ttk/strategies/Test.rb,
lib/ttk/logger/verbosity.rb,
lib/ttk/monitors/Monitor.rb,
lib/ttk/strategies/Abort.rb,
lib/ttk/strategies/Block.rb,
lib/ttk/strategies/Clean.rb,
lib/ttk/strategies/Error.rb,
lib/ttk/strategies/Fetch.rb,
lib/ttk/strategies/JUnit.rb,
lib/ttk/strategies/Proxy.rb,
lib/ttk/strategies/RUnit.rb,
lib/ttk/strategies/Sleep.rb,
lib/ttk/strategies/Suite.rb,
lib/ttk/logger/to_ttk_log.rb,
lib/ttk/strategies/Import.rb,
lib/ttk/strategies/SubCmd.rb,
lib/ttk/strategies/Tester.rb,
lib/ttk/strategies/Authors.rb,
lib/ttk/strategies/CmdBase.rb,
lib/ttk/strategies/Compile.rb,
lib/ttk/strategies/Extract.rb,
lib/ttk/strategies/Fetcher.rb,
lib/ttk/strategies/IOBased.rb,
lib/ttk/strategies/KillAll.rb,
lib/ttk/strategies/Package.rb,
lib/ttk/strategies/Streams.rb,
lib/ttk/logger/section_node.rb,
lib/ttk/services/DRbService.rb,
lib/ttk/strategies/Checkout.rb,
lib/ttk/strategies/SqlQuery.rb,
lib/ttk/strategies/Strategy.rb,
lib/ttk/services/TesterSlave.rb,
lib/ttk/strategies/Bootstrap.rb,
lib/ttk/strategies/Composite.rb,
lib/ttk/strategies/Configure.rb,
lib/ttk/strategies/RemoteCmd.rb,
lib/ttk/strategies/SignalCmd.rb,
lib/ttk/testers/tester/score.rb,
lib/ttk/daemons/daemon/logger.rb,
lib/ttk/services/TesterClient.rb,
lib/ttk/services/TesterMaster.rb,
lib/ttk/strategies/Collection.rb,
lib/ttk/strategies/Distribute.rb,
lib/ttk/testers/tester/config.rb,
lib/ttk/fetchers/server/sender.rb,
lib/ttk/services/FetcherClient.rb,
lib/ttk/services/FetcherServer.rb,
lib/ttk/services/MonitorClient.rb,
lib/ttk/services/MonitorServer.rb,
lib/ttk/strategies/DistDelegate.rb,
lib/ttk/strategies/DistStrategy.rb,
lib/ttk/strategies/Streams/Diff.rb,
lib/ttk/strategies/Streams/Pipe.rb,
lib/ttk/testers/tester/notifier.rb,
lib/ttk/fetchers/client/receiver.rb,
lib/ttk/strategies/DistDuplicate.rb,
lib/ttk/strategies/Streams/Stream.rb,
lib/ttk/testers/tester/query_node.rb,
lib/ttk/testers/tester/running_task.rb,
lib/ttk/strategies/PackageCollection.rb,
lib/ttk/testers/tester/remote_status.rb,
lib/ttk/strategies/ProbabilityThreshold.rb,
lib/ttk/strategies/Strategy/assert_eval.rb,
lib/ttk/services/DRbService/sub_testable.rb
Overview
FIXME: make me a Composite
Defined Under Namespace
Modules: Daemons, Dumpers, Fetchers, Filters, Loaders, Monitors, Services, Strategies, Streams, TTKModule, Testers, Weights Classes: AbortStatus, ErrorStatus, FailStatus, Logger, LoggerFactory, PassStatus, RunningStatus, SkipStatus, StartStatus, Status, StatusException, StatusWithMessage, SymTbl, TTKException, TimeoutAbortStatus
Constant Summary collapse
Class Method Summary collapse
-
.pathname_to_class(p) ⇒ Object
Autoload modules.
Class Method Details
.pathname_to_class(p) ⇒ Object
Autoload modules
69 70 71 72 73 74 75 76 77 78 79 |
# File 'lib/ttk.rb', line 69 def pathname_to_class(p) const = p.basename.to_s.sub(/\.rb$/, '') if const =~ ConstRegexp::RB_CONST const else raise(ArgumentError, "`#{p.to_s}' - your file doesn't follow our convention, " + "the filename must be equal to the class name you declared into.") nil end end |