Sha256: 494682e5c7a11c46b650e857cdf3a5a73160be8b75e19606078cb9d8c91324b4

Contents?: true

Size: 292 Bytes

Versions: 5

Compression:

Stored size: 292 Bytes

Contents

# frozen_string_literal: true

require 'whatup/version'

# Main module for whatup
module Whatup
  # Whatup-specific error class
  class Error < StandardError
  end

  # @return [Bool] Whether or not the app is running in a test environment
  def self.testing?
    !!defined?(RSpec)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
whatup-0.3.5 lib/whatup.rb
whatup-0.3.4 lib/whatup.rb
whatup-0.3.3 lib/whatup.rb
whatup-0.3.2 lib/whatup.rb
whatup-0.3.1 lib/whatup.rb