Class: Cejo::Media::Players::PLAYER_INFO

Inherits:
Struct
  • Object
show all
Defined in:
lib/cejo/media/play/players.rb

Overview

player name, config and optimal media format

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#configObject

Returns the value of attribute config

Returns:

  • (Object)

    the current value of config



8
9
10
# File 'lib/cejo/media/play/players.rb', line 8

def config
  @config
end

#formatObject

Returns the value of attribute format

Returns:

  • (Object)

    the current value of format



8
9
10
# File 'lib/cejo/media/play/players.rb', line 8

def format
  @format
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



8
9
10
# File 'lib/cejo/media/play/players.rb', line 8

def name
  @name
end

Instance Method Details

#to_sObject



9
10
11
# File 'lib/cejo/media/play/players.rb', line 9

def to_s
  %(#{name} #{config} #{format})
end