class GovukPublishingComponents::Presenters::Attachment::UnsupportedContentType
Attributes
content_type[R]
Public Class Methods
new(content_type:)
click to toggle source
# File lib/govuk_publishing_components/presenters/attachment.rb, line 149 def initialize(content_type:) @content_type = content_type end
Public Instance Methods
abbr()
click to toggle source
# File lib/govuk_publishing_components/presenters/attachment.rb, line 155 def abbr; end
document?()
click to toggle source
# File lib/govuk_publishing_components/presenters/attachment.rb, line 161 def document? false end
name()
click to toggle source
# File lib/govuk_publishing_components/presenters/attachment.rb, line 153 def name; end
opendocument?()
click to toggle source
# File lib/govuk_publishing_components/presenters/attachment.rb, line 157 def opendocument? false end
spreadsheet?()
click to toggle source
# File lib/govuk_publishing_components/presenters/attachment.rb, line 165 def spreadsheet? false end