Class: Id3Taginator::Frames::Tos::Entities::TermsOfUse

Inherits:
Object
  • Object
show all
Includes:
Extensions::Comparable
Defined in:
lib/id3taginator/frames/tos/entities/terms_of_use.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Extensions::Comparable

#==, #compare

Constructor Details

#initialize(language, text) ⇒ TermsOfUse

constructor

Parameters:

  • language (String)

    the 3 character language of the terms of use

  • text (String)

    the terms of use text



16
17
18
19
# File 'lib/id3taginator/frames/tos/entities/terms_of_use.rb', line 16

def initialize(language, text)
  @language = language
  @text = text
end

Instance Attribute Details

#languageObject

Returns the value of attribute language.



10
11
12
# File 'lib/id3taginator/frames/tos/entities/terms_of_use.rb', line 10

def language
  @language
end

#textObject

Returns the value of attribute text.



10
11
12
# File 'lib/id3taginator/frames/tos/entities/terms_of_use.rb', line 10

def text
  @text
end