Module: DNS::Zonefile::ZonefileGrammar::SrvRecord3

Defined in:
lib/dns/zonefile/parser.rb

Instance Method Summary collapse

Instance Method Details

#hostObject



2146
2147
2148
# File 'lib/dns/zonefile/parser.rb', line 2146

def host
  elements[0]
end

#klassObject



2154
2155
2156
# File 'lib/dns/zonefile/parser.rb', line 2154

def klass
  elements[2]
end

#portObject



2178
2179
2180
# File 'lib/dns/zonefile/parser.rb', line 2178

def port
  elements[9]
end

#priorityObject



2162
2163
2164
# File 'lib/dns/zonefile/parser.rb', line 2162

def priority
  elements[5]
end

#space1Object



2150
2151
2152
# File 'lib/dns/zonefile/parser.rb', line 2150

def space1
  elements[1]
end

#space2Object



2158
2159
2160
# File 'lib/dns/zonefile/parser.rb', line 2158

def space2
  elements[4]
end

#space3Object



2166
2167
2168
# File 'lib/dns/zonefile/parser.rb', line 2166

def space3
  elements[6]
end

#space4Object



2174
2175
2176
# File 'lib/dns/zonefile/parser.rb', line 2174

def space4
  elements[8]
end

#space5Object



2182
2183
2184
# File 'lib/dns/zonefile/parser.rb', line 2182

def space5
  elements[10]
end

#targetObject



2186
2187
2188
# File 'lib/dns/zonefile/parser.rb', line 2186

def target
  elements[11]
end

#weightObject



2170
2171
2172
# File 'lib/dns/zonefile/parser.rb', line 2170

def weight
  elements[7]
end