Module: Teaspoon::Framework

Extended by:
Registry
Defined in:
lib/teaspoon/framework.rb,
lib/teaspoon/framework/base.rb

Defined Under Namespace

Classes: Base

Class Method Summary collapse

Methods included from Registry

available, extended, fetch, matches?, not_found_in_registry, register

Class Method Details

.defaultObject



9
10
11
12
13
14
15
# File 'lib/teaspoon/framework.rb', line 9

def self.default
  # Frameworks are special in that the default is the first framework
  # that was registered, but can be nil, meaning the teaspoon gem is
  # in the Gemfile, instead of the framework-specific equivalent
  #   eg teaspoon-jasmine
  available.keys.first
end