Class: Id3Taginator::Frames::Text::Entities::Copyright

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Extensions::Comparable

#==, #compare

Constructor Details

#initialize(year, holder) ⇒ Copyright

constructor

Parameters:

  • year (String)

    the 4 character year e.g. 2020

  • holder (String)

    the copyright holder



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

def initialize(year, holder)
  @year = year
  @holder = holder
end

Instance Attribute Details

#holderObject

Returns the value of attribute holder.



10
11
12
# File 'lib/id3taginator/frames/text/entities/copyright.rb', line 10

def holder
  @holder
end

#yearObject

Returns the value of attribute year.



10
11
12
# File 'lib/id3taginator/frames/text/entities/copyright.rb', line 10

def year
  @year
end