Class: Cejo::Media::Players::PLAYER_INFO
- Inherits:
-
Struct
- Object
- Struct
- Cejo::Media::Players::PLAYER_INFO
- Defined in:
- lib/cejo/media/play/players.rb
Overview
player name, config and optimal media format
Instance Attribute Summary collapse
-
#config ⇒ Object
Returns the value of attribute config.
-
#format ⇒ Object
Returns the value of attribute format.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
Instance Attribute Details
#config ⇒ Object
Returns the value of attribute config
8 9 10 |
# File 'lib/cejo/media/play/players.rb', line 8 def config @config end |
#format ⇒ Object
Returns the value of attribute format
8 9 10 |
# File 'lib/cejo/media/play/players.rb', line 8 def format @format end |
#name ⇒ Object
Returns the value of attribute name
8 9 10 |
# File 'lib/cejo/media/play/players.rb', line 8 def name @name end |
Instance Method Details
#to_s ⇒ Object
9 10 11 |
# File 'lib/cejo/media/play/players.rb', line 9 def to_s %(#{name} #{config} #{format}) end |