Class: Nexpose::IPRange
- Inherits:
-
Object
- Object
- Nexpose::IPRange
- Defined in:
- plugins/nexpose.rb
Instance Method Summary collapse
Instance Method Details
#to_json(*_args) ⇒ Object
690 691 692 693 694 695 696 |
# File 'plugins/nexpose.rb', line 690 def to_json(*_args) if @to.present? "#{@from} - #{@to}".to_json else @from.to_json end end |