Class: Aspec::Configure

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#formatterObject

Returns the value of attribute formatter


26
27
28
# File 'lib/aspec.rb', line 26

def formatter
  @formatter
end

#slowObject

Returns the value of attribute slow


26
27
28
# File 'lib/aspec.rb', line 26

def slow
  @slow
end

#verboseObject

Returns the value of attribute verbose


26
27
28
# File 'lib/aspec.rb', line 26

def verbose
  @verbose
end

Instance Method Details

#after_suite(&block) ⇒ Object


47
48
49
# File 'lib/aspec.rb', line 47

def after_suite(&block)
  @after_suite = block
end

#app_under_test(&block) ⇒ Object


31
32
33
# File 'lib/aspec.rb', line 31

def app_under_test(&block)
  @app_under_test = block
end

#before(&block) ⇒ Object


35
36
37
# File 'lib/aspec.rb', line 35

def before(&block)
  @before = block
end

#get_after_suiteObject


51
52
53
# File 'lib/aspec.rb', line 51

def get_after_suite
  @after_suite
end

#get_app_under_testObject


39
40
41
# File 'lib/aspec.rb', line 39

def get_app_under_test
  @app_under_test
end

#get_beforeObject


43
44
45
# File 'lib/aspec.rb', line 43

def get_before
  @before
end

#slow?Boolean

Returns:

  • (Boolean)

29
# File 'lib/aspec.rb', line 29

def slow?; slow; end

#verbose?Boolean

Returns:

  • (Boolean)

28
# File 'lib/aspec.rb', line 28

def verbose?; verbose; end