lib/grape/app.rb in grape-app-0.5.3 vs lib/grape/app.rb in grape-app-0.6.0
- old
+ new
@@ -10,10 +10,10 @@
class Grape::App < Grape::API
class << self
# Run initializers
- def init!(root=nil) # rubocop:disable Metrics/AbcSize
+ def init!(root=nil)
@root = Pathname.new(root) if root
# Require bundle
Bundler.require :default, env.to_sym