Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

sleewoo / el-finder   ruby

Repository URL to install this package:

/ examples / basic / app.rb

require 'bundler'
Bundler.require

class App < E
  include EL::Finder
  map '/'

  def index
    finder './public', editor: :ace
  end

end

app = E.new do
  use Rack::CommonLogger
  use Rack::ShowExceptions
  mount App
  puts urlmap
end
app.boot!
app.run server: :Thin