Class: DnsMadeEasy::Zone::RecordSet
- Inherits:
-
Dry::Struct
- Object
- Dry::Struct
- DnsMadeEasy::Zone::RecordSet
- Defined in:
- lib/dnsmadeeasy/zone/record_set.rb
Overview
Deterministically ordered collection of zone records.
Instance Method Summary collapse
Instance Method Details
#include?(record) ⇒ Boolean
18 19 20 |
# File 'lib/dnsmadeeasy/zone/record_set.rb', line 18 def include?(record) records.include?(record) end |
#sorted ⇒ Object
14 15 16 |
# File 'lib/dnsmadeeasy/zone/record_set.rb', line 14 def sorted records.sort_by(&:sort_key) end |