Class: WarblerReader

Inherits:
Object
  • Object
show all
Defined in:
lib/jetty_rails/warbler_reader.rb

Instance Method Summary collapse

Constructor Details

#initialize(config) ⇒ WarblerReader

Returns a new instance of WarblerReader.



3
4
5
6
7
8
9
10
# File 'lib/jetty_rails/warbler_reader.rb', line 3

def initialize(config)
  # TODO ignore jruby and jruby-rack
  warbler_config = load("#{config[:base]}/config/warble.rb")
  warbler_config.java_libs.each do |jar|
    require jar
  end
  # TODO require custom classes
end