Sha256: e5732d801c01afbfba2eb5f7be8e2d2a6cfaa7c205dd85e4c970e40d02ad74bd

Contents?: true

Size: 229 Bytes

Versions: 4

Compression:

Stored size: 229 Bytes

Contents

module Parade
  module Preshow
    def self.included(server)

      server.get "/preshow" do
        Dir.glob("#{settings.presentation_directory}/preshow/*").map { |path| File.basename(path) }.to_json
      end

    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
parade-0.9.0 lib/parade/features/preshow.rb
parade-0.8.2 lib/parade/features/preshow.rb
parade-0.8.1 lib/parade/features/preshow.rb
parade-0.8.0 lib/parade/features/preshow.rb