Class: Brrr::Item::Guid

Inherits:
Feed::Element show all
Defined in:
lib/brrr/item/guid.rb

Instance Method Summary collapse

Methods inherited from Feed::Element

#initialize, #value

Constructor Details

This class inherits a constructor from Brrr::Feed::Element

Instance Method Details

#is_permalink?Boolean

Returns:

  • (Boolean)


4
5
6
# File 'lib/brrr/item/guid.rb', line 4

def is_permalink?
  @is_permalink ||= node.attribute("isPermaLink")&.value == "true"
end