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.
26 27 28 |
# File 'lib/aspec.rb', line 26 def formatter @formatter end |
#slow ⇒ Object
Returns the value of attribute slow.
26 27 28 |
# File 'lib/aspec.rb', line 26 def slow @slow end |
#verbose ⇒ Object
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_suite ⇒ Object
51 52 53 |
# File 'lib/aspec.rb', line 51 def get_after_suite @after_suite end |
#get_app_under_test ⇒ Object
39 40 41 |
# File 'lib/aspec.rb', line 39 def get_app_under_test @app_under_test end |
#get_before ⇒ Object
43 44 45 |
# File 'lib/aspec.rb', line 43 def get_before @before end |
#slow? ⇒ Boolean
29 |
# File 'lib/aspec.rb', line 29 def slow?; slow; end |
#verbose? ⇒ Boolean
28 |
# File 'lib/aspec.rb', line 28 def verbose?; verbose; end |