Class: Bdd::Check

Inherits:
Object
  • Object
show all
Defined in:
lib/bdd/check.rb

Instance Method Summary collapse

Constructor Details

#initializeCheck

Returns a new instance of Check.



4
5
6
7
8
9
10
11
# File 'lib/bdd/check.rb', line 4

def initialize
  if not $SKIP_BDD_CHECK === true
    if not has_loaded_with_a_test_framework?
      print_out
      fail SyntaxError, "Update your Gemfile"
    end
  end
end