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.



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

def formatter
  @formatter
end

#slowObject

Returns the value of attribute slow.



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

def slow
  @slow
end

#verboseObject

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_suiteObject



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

def get_after_suite
  @after_suite
end

#get_app_under_testObject



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

def get_app_under_test
  @app_under_test
end

#get_beforeObject



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

def get_before
  @before
end

#slow?Boolean

Returns:

  • (Boolean)


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

def slow?; slow; end

#verbose?Boolean

Returns:

  • (Boolean)


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

def verbose?; verbose; end