Class: Ellipses::Server::Application::Instance
- Inherits:
-
Struct
- Object
- Struct
- Ellipses::Server::Application::Instance
- Defined in:
- lib/ellipses/server/application.rb
Instance Attribute Summary collapse
-
#port ⇒ Object
Returns the value of attribute port.
-
#repository ⇒ Object
Returns the value of attribute repository.
-
#uri ⇒ Object
Returns the value of attribute uri.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#port ⇒ Object
Returns the value of attribute port
8 9 10 |
# File 'lib/ellipses/server/application.rb', line 8 def port @port end |
#repository ⇒ Object
Returns the value of attribute repository
8 9 10 |
# File 'lib/ellipses/server/application.rb', line 8 def repository @repository end |
#uri ⇒ Object
Returns the value of attribute uri
8 9 10 |
# File 'lib/ellipses/server/application.rb', line 8 def uri @uri end |
Class Method Details
.ident(uri, port) ⇒ Object
14 15 16 |
# File 'lib/ellipses/server/application.rb', line 14 def ident(uri, port) "#{uri}:#{port || DEFAULT_PORT}" end |
Instance Method Details
#to_s ⇒ Object
9 10 11 |
# File 'lib/ellipses/server/application.rb', line 9 def to_s self.class.ident(uri, port) end |