Class: Aio::Module::Description::Overrun
- Inherits:
-
Aio::Module::Description
- Object
- Aio::Module::Description
- Aio::Module::Description::Overrun
- Includes:
- Aio::Module
- Defined in:
- lib/modules/description/style/overrun.rb
Instance Attribute Summary
Attributes inherited from Aio::Module::Description
Instance Method Summary collapse
-
#initialize ⇒ Overrun
constructor
A new instance of Overrun.
- #to_s ⇒ Object
Methods inherited from Aio::Module::Description
#author, #case, #clear, #description, #license, #name, #parent?, #set_defaults, #temp, #title, #type
Constructor Details
#initialize ⇒ Overrun
Returns a new instance of Overrun.
8 9 10 11 12 13 14 15 16 |
# File 'lib/modules/description/style/overrun.rb', line 8 def initialize super({ :author => "Elin", :case => :overrun, :name => "超出接口承受能力", :title => "接口OVERRUN检查", :description => "接口Overrun检查" }) end |
Instance Method Details
#to_s ⇒ Object
18 19 20 |
# File 'lib/modules/description/style/overrun.rb', line 18 def to_s "接口接收的包超过接口的承受能力,此值应该为0。" end |