Method: Jarbler::Config#initialize
- Defined in:
- lib/jarbler/config.rb
#initialize {|_self| ... } ⇒ Config
Returns a new instance of Config.
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 |
# File 'lib/jarbler/config.rb', line 61 def initialize @compile_ruby_files = false @compile_java_version = nil # deprecated, use java_opts instead @excludes = %w(tmp/cache tmp/pids tmp/sockets vendor/bundle vendor/cache vendor/ruby) @excludes_from_compile = [] @executable = 'bin/rails' @executable_params = %w(server -e production -p 8080) @gemfile_groups = [:default, :production] @includes = %w(app bin config config.ru db Gemfile Gemfile.lock lib log public Rakefile script vendor tmp) @java_opts = nil @jar_name = File.basename(Dir.pwd) + '.jar' @jrubyc_opts = [] @jruby_version = nil # determined automatically at runtime # execute additional block if given yield self if block_given? end |