Class: Nexpose::IPRange
- Inherits:
-
Object
- Object
- Nexpose::IPRange
- Defined in:
- plugins/nexpose.rb
Instance Method Summary collapse
Instance Method Details
#to_json ⇒ Object
697 698 699 700 701 702 703 |
# File 'plugins/nexpose.rb', line 697 def to_json if @to.present? "#{@from} - #{@to}".to_json else @from.to_json end end |