Class: Grumlin::Middlewares::ApplyShortcuts

Inherits:
Middleware
  • Object
show all
Defined in:
lib/grumlin/middlewares/apply_shortcuts.rb

Instance Method Summary collapse

Instance Method Details

#call(env) ⇒ Object



4
5
6
7
# File 'lib/grumlin/middlewares/apply_shortcuts.rb', line 4

def call(env)
  env[:steps_without_shortcuts] = Grumlin::ShortcutsApplyer.call(env[:steps])
  @app.call(env)
end