Sha256: 0bef56cd2daf563b7c07f7e5858dd1d5086827aa1488f8cca734b1afcce2a9ba

Contents?: true

Size: 444 Bytes

Versions: 7

Compression:

Stored size: 444 Bytes

Contents

# This is a sample file to see how the really, really basic callback system works.
# See the README for me or just dive in.
class Fourchette::Callbacks
  include Fourchette::Logger

  def initialize params
    @params = params
  end

  def before_all
    logger.info 'Placeholder for before steps... (see callbacks.rb to override)'
  end

  def after_all
    logger.info 'Placeholder for after steps... (see callbacks.rb to override)'
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
fourchette-0.1.2 templates/callbacks.rb
fourchette-0.1.1 templates/callbacks.rb
fourchette-0.1.0 templates/callbacks.rb
fourchette-0.0.8 templates/callbacks.rb
fourchette-0.0.7 templates/callbacks.rb
fourchette-0.0.6 templates/callbacks.rb
fourchette-0.0.5 templates/callbacks.rb