Sha256: e1bc0581d67d504e4a04e92d23179432821f4e86a916005250305e5f0371647d

Contents?: true

Size: 338 Bytes

Versions: 8

Compression:

Stored size: 338 Bytes

Contents

require 'sanford/runner'

module Sanford

  class SanfordRunner < Runner

    def run
      catch(:halt) do
        self.handler.sanford_run_callback 'before'
        catch(:halt){ self.handler.sanford_init; self.handler.sanford_run }
        self.handler.sanford_run_callback 'after'
      end
      self.to_response
    end

  end

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
sanford-0.19.1 lib/sanford/sanford_runner.rb
sanford-0.19.0 lib/sanford/sanford_runner.rb
sanford-0.18.2 lib/sanford/sanford_runner.rb
sanford-0.18.1 lib/sanford/sanford_runner.rb
sanford-0.18.0 lib/sanford/sanford_runner.rb
sanford-0.17.0 lib/sanford/sanford_runner.rb
sanford-0.16.1 lib/sanford/sanford_runner.rb
sanford-0.16.0 lib/sanford/sanford_runner.rb