lib/solaris/patchdiag.rb
def date
      ## PATCHDIAG TOOL CROSS-REFERENCE FILE AS OF Jan/23/14 ##
      @date ||= @header.find { |line| line =~ /\s(\w\w\w\/\d\d\/\d\d)\s/ } &&
        Date.parse($1)
    end
# Return the date parsed from the patchdiag.xref comment lines.
Return the date parsed from the patchdiag.xref comment lines.
Return the date parsed from the patchdiag . xref comment lines .
def date
      @date ||= @header.find { |line| line =~ /\s(\w\w\w\/\d\d\/\d\d)\s/ } &&
        Date.parse($1)
    end
def date @date ||= @header . find { | line | line =~ / \s ( \w \w \w \/ \d \d \/ \d \d ) \s / } && Date . parse ( $1 ) end
Return the date parsed from the patchdiag.xref comment lines.
Return the date parsed from the patchdiag . xref comment lines .
## PATCHDIAG TOOL CROSS-REFERENCE FILE AS OF Jan/23/14 ##