Module: LTools
- Defined in:
- lib/core/opts.rb,
lib/l-tools.rb,
lib/version.rb,
lib/core/tool.rb,
lib/tools/nmap.rb,
lib/tools/tshark.rb
Overview
TODO 追加没有参数符号和开关型的参数支持
Defined Under Namespace
Constant Summary collapse
- VERSION =
"0.1.5"
Class Attribute Summary collapse
-
.verbose ⇒ Object
Returns the value of attribute verbose.
Class Method Summary collapse
Class Attribute Details
.verbose ⇒ Object
Returns the value of attribute verbose.
13 14 15 |
# File 'lib/l-tools.rb', line 13 def verbose @verbose end |
Class Method Details
.add_tool(tool) ⇒ Object
15 16 17 |
# File 'lib/l-tools.rb', line 15 def add_tool(tool) @tools << tool end |
.check_all? ⇒ Boolean
19 20 21 22 23 |
# File 'lib/l-tools.rb', line 19 def check_all? @tools.map do |child_class| child_class.check? end end |