Class: Pbin::App
- Inherits:
-
Object
- Object
- Pbin::App
- Defined in:
- lib/pbin/app.rb
Instance Attribute Summary collapse
-
#server ⇒ Object
Returns the value of attribute server.
Instance Method Summary collapse
-
#initialize ⇒ App
constructor
A new instance of App.
- #name ⇒ Object
- #start ⇒ Object
- #stop ⇒ Object
Constructor Details
Instance Attribute Details
#server ⇒ Object
Returns the value of attribute server.
6 7 8 |
# File 'lib/pbin/app.rb', line 6 def server @server end |
Instance Method Details
#name ⇒ Object
16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/pbin/app.rb', line 16 def name <<-'EOF' ________ ________ ___ ________ |\ __ \|\ __ \|\ \|\ ___ \ \ \ \|\ \ \ \|\ /\ \ \ \ \\ \ \ \ \ ____\ \ __ \ \ \ \ \\ \ \ \ \ \___|\ \ \|\ \ \ \ \ \\ \ \ \ \__\ \ \_______\ \__\ \__\\ \__\ \|__| \|_______|\|__|\|__| \|__| EOF end |
#start ⇒ Object
28 29 30 |
# File 'lib/pbin/app.rb', line 28 def start @server.start end |
#stop ⇒ Object
32 33 34 |
# File 'lib/pbin/app.rb', line 32 def stop @server.stop end |