Class: Coulda::World

Inherits:
Object
  • Object
show all
Defined in:
lib/coulda/world.rb

Class Method Summary collapse

Class Method Details

.featuresObject



7
8
9
# File 'lib/coulda/world.rb', line 7

def self.features
  @features || []
end

.register_feature(feature, sexp) ⇒ Object



3
4
5
# File 'lib/coulda/world.rb', line 3

def self.register_feature(feature, sexp)
  (@features ||= []) << [feature, sexp]
end