Class: EacRailsUtils::OpenGraphProtocolHelper::RootEntry

Inherits:
AbstractEntry
  • Object
show all
Defined in:
app/helpers/eac_rails_utils/open_graph_protocol_helper.rb

Instance Attribute Summary

Attributes inherited from AbstractEntry

#view

Instance Method Summary collapse

Methods inherited from AbstractEntry

#child, #children_tags, #data=, #initialize

Constructor Details

This class inherits a constructor from EacRailsUtils::OpenGraphProtocolHelper::AbstractEntry

Instance Method Details

#componentsObject



97
98
99
# File 'app/helpers/eac_rails_utils/open_graph_protocol_helper.rb', line 97

def components
  []
end

#content=(_a_content) ⇒ Object



101
102
103
# File 'app/helpers/eac_rails_utils/open_graph_protocol_helper.rb', line 101

def content=(_a_content)
  raise 'Root OGP entry cannot have content'
end

#tagObject



105
106
107
# File 'app/helpers/eac_rails_utils/open_graph_protocol_helper.rb', line 105

def tag
  ::ActiveSupport::SafeBuffer.new
end