Class: Aspec::Configure
- Inherits:
-
Object
- Object
- Aspec::Configure
- Defined in:
- lib/aspec.rb
Instance Attribute Summary collapse
-
#formatter ⇒ Object
Returns the value of attribute formatter.
-
#slow ⇒ Object
Returns the value of attribute slow.
-
#verbose ⇒ Object
Returns the value of attribute verbose.
Instance Method Summary collapse
- #after_suite(&block) ⇒ Object
- #app_under_test(&block) ⇒ Object
- #before(&block) ⇒ Object
- #get_after_suite ⇒ Object
- #get_app_under_test ⇒ Object
- #get_before ⇒ Object
- #slow? ⇒ Boolean
- #verbose? ⇒ Boolean
Instance Attribute Details
#formatter ⇒ Object
Returns the value of attribute formatter.
25 26 27 |
# File 'lib/aspec.rb', line 25 def formatter @formatter end |
#slow ⇒ Object
Returns the value of attribute slow.
25 26 27 |
# File 'lib/aspec.rb', line 25 def slow @slow end |
#verbose ⇒ Object
Returns the value of attribute verbose.
25 26 27 |
# File 'lib/aspec.rb', line 25 def verbose @verbose end |
Instance Method Details
#after_suite(&block) ⇒ Object
46 47 48 |
# File 'lib/aspec.rb', line 46 def after_suite(&block) @after_suite = block end |
#app_under_test(&block) ⇒ Object
30 31 32 |
# File 'lib/aspec.rb', line 30 def app_under_test(&block) @app_under_test = block end |
#before(&block) ⇒ Object
34 35 36 |
# File 'lib/aspec.rb', line 34 def before(&block) @before = block end |
#get_after_suite ⇒ Object
50 51 52 |
# File 'lib/aspec.rb', line 50 def get_after_suite @after_suite end |
#get_app_under_test ⇒ Object
38 39 40 |
# File 'lib/aspec.rb', line 38 def get_app_under_test @app_under_test end |
#get_before ⇒ Object
42 43 44 |
# File 'lib/aspec.rb', line 42 def get_before @before end |
#slow? ⇒ Boolean
28 |
# File 'lib/aspec.rb', line 28 def slow?; slow; end |
#verbose? ⇒ Boolean
27 |
# File 'lib/aspec.rb', line 27 def verbose?; verbose; end |