Class: Pubid::Itu::Components::Series
- Inherits:
-
Lutaml::Model::Serializable
- Object
- Lutaml::Model::Serializable
- Pubid::Itu::Components::Series
- Defined in:
- lib/pubid/itu/components/series.rb
Overview
ITU Series component Examples: BO, V, X, A, etc.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(series:) ⇒ Series
constructor
A new instance of Series.
- #to_s ⇒ Object
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_s ⇒ Object
17 18 19 |
# File 'lib/pubid/itu/components/series.rb', line 17 def to_s series end |