some updates, maybe i need tests?
This commit is contained in:
parent
a3f155b594
commit
882e8a04f1
@ -19,3 +19,4 @@ Run the presentation that's in the current directory on port 9393.
|
||||
|
||||
Run the current presentation on another port.
|
||||
|
||||
Edit `presentation.rb` and start adding `.slides` files in `presentation/`. The files are processed in sort order.
|
||||
|
@ -26,7 +26,7 @@ class Attentive::CLI < Thor
|
||||
method_options [ :port, '-p' ] => 9393
|
||||
def start
|
||||
if Attentive.has_presentation?
|
||||
Attentive::Server.start!
|
||||
Attentive::Server.start(options)
|
||||
else
|
||||
raise Attentive::NoPresentationError
|
||||
end
|
||||
|
@ -14,7 +14,7 @@ require 'forwardable'
|
||||
|
||||
module Attentive
|
||||
class Server < Rack::Builder
|
||||
def start!
|
||||
def self.start(options)
|
||||
require 'rack'
|
||||
require 'pygments'
|
||||
require 'coffee_script'
|
||||
|
Loading…
Reference in New Issue
Block a user