Class: Murlsh::Server
- Inherits:
-
Object
- Object
- Murlsh::Server
- Defined in:
- lib/murlsh/server.rb
Overview
Superclass for servers.
Direct Known Subclasses
AtomServer, JsonServer, M3uServer, PodcastServer, PopServer, RandomServer, RssServer, UrlServer
Instance Attribute Summary collapse
-
#config ⇒ Object
readonly
Returns the value of attribute config.
Instance Method Summary collapse
-
#initialize(config) ⇒ Server
constructor
A new instance of Server.
Constructor Details
#initialize(config) ⇒ Server
Returns a new instance of Server.
6 |
# File 'lib/murlsh/server.rb', line 6 def initialize(config); @config = config; end |
Instance Attribute Details
#config ⇒ Object (readonly)
Returns the value of attribute config.
8 9 10 |
# File 'lib/murlsh/server.rb', line 8 def config @config end |