Class: Pubid::Itu::Components::Series

Inherits:
Lutaml::Model::Serializable
  • Object
show all
Defined in:
lib/pubid/itu/components/series.rb

Overview

ITU Series component Examples: BO, V, X, A, etc.

Instance Method Summary collapse

Constructor Details

#initialize(series:) ⇒ Series

Returns a new instance of Series.



13
14
15
# File 'lib/pubid/itu/components/series.rb', line 13

def initialize(series:)
  @series = series
end

Instance Method Details

#==(other) ⇒ Object



21
22
23
24
25
# File 'lib/pubid/itu/components/series.rb', line 21

def ==(other)
  return false unless other.is_a?(Series)

  series == other.series
end

#to_sObject



17
18
19
# File 'lib/pubid/itu/components/series.rb', line 17

def to_s
  series
end