class Splicer::Records::Record
Attributes
name[RW]
ttl[RW]
Public Class Methods
new(name, ttl)
click to toggle source
@param [String] name the relative name @param [Integer] ttl the TTL in seconds
# File lib/splicer/records/record.rb, line 9 def initialize(name, ttl) @name = name @ttl = ttl end
Public Instance Methods
name?()
click to toggle source
Check to see if the name is nil @return [Boolean]
# File lib/splicer/records/record.rb, line 16 def name? !!@name end