Class: Y2Packager::ReleaseNotesContentPrefs

Inherits:
Struct
  • Object
show all
Defined in:
src/lib/y2packager/release_notes_content_prefs.rb

Overview

Content preferences for release notes

Instance Attribute Summary collapse

Instance Attribute Details

#fallback_langSymbol


22
23
24
25
26
27
28
# File 'src/lib/y2packager/release_notes_content_prefs.rb', line 22

ReleaseNotesContentPrefs = Struct.new(:user_lang, :fallback_lang, :format) do
  # @return [String] Human readable representation of content preferences
  def to_s
    "content preferences: language '#{user_lang}', fallback language: '#{fallback_lang}', "\
      "and format '#{format}'"
  end
end

#formatSymbol


22
23
24
25
26
27
28
# File 'src/lib/y2packager/release_notes_content_prefs.rb', line 22

ReleaseNotesContentPrefs = Struct.new(:user_lang, :fallback_lang, :format) do
  # @return [String] Human readable representation of content preferences
  def to_s
    "content preferences: language '#{user_lang}', fallback language: '#{fallback_lang}', "\
      "and format '#{format}'"
  end
end

#user_langString


22
23
24
25
26
27
28
# File 'src/lib/y2packager/release_notes_content_prefs.rb', line 22

ReleaseNotesContentPrefs = Struct.new(:user_lang, :fallback_lang, :format) do
  # @return [String] Human readable representation of content preferences
  def to_s
    "content preferences: language '#{user_lang}', fallback language: '#{fallback_lang}', "\
      "and format '#{format}'"
  end
end