Class: Shoes::Package::WarblerExtensions

Inherits:
Furoshiki::WarblerExtensions
  • Object
show all
Defined in:
shoes-package/lib/shoes/package/configuration.rb

Defined Under Namespace

Modules: ShoesWarblerConfig

Instance Method Summary collapse

Instance Method Details

#customize(warbler_config) ⇒ Object


160
161
162
163
164
165
166
# File 'shoes-package/lib/shoes/package/configuration.rb', line 160

def customize(warbler_config)
  warbler_config.tap do |warbler|
    warbler.pathmaps.application = ['shoes-app/%p']
    warbler.extend ShoesWarblerConfig
    warbler.run = @config.run.split(/\s/).first
  end
end