Class: JuxtaposeServer
- Inherits:
-
Sinatra::Base
- Object
- Sinatra::Base
- JuxtaposeServer
- Defined in:
- lib/juxtapose/application/app.rb
Instance Method Summary collapse
Instance Method Details
#project ⇒ Object
30 31 32 |
# File 'lib/juxtapose/application/app.rb', line 30 def project Project.new(screens_dir) end |
#screens_dir ⇒ Object
34 35 36 37 38 |
# File 'lib/juxtapose/application/app.rb', line 34 def screens_dir [ File.join(Dir.pwd, 'spec/screens'), File.join(Dir.pwd, 'features/screens') ].select do |dir| File.exists?(dir) end end |