Class: TCR::Configuration
- Inherits:
-
Object
- Object
- TCR::Configuration
- Defined in:
- lib/tcr/configuration.rb
Instance Attribute Summary collapse
-
#block_for_reads ⇒ Object
Returns the value of attribute block_for_reads.
-
#cassette_library_dir ⇒ Object
Returns the value of attribute cassette_library_dir.
-
#format ⇒ Object
Returns the value of attribute format.
-
#hit_all ⇒ Object
Returns the value of attribute hit_all.
-
#hook_tcp_ports ⇒ Object
Returns the value of attribute hook_tcp_ports.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
- #reset_defaults! ⇒ Object
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 |
# File 'lib/tcr/configuration.rb', line 5 def initialize reset_defaults! end |
Instance Attribute Details
#block_for_reads ⇒ Object
Returns the value of attribute block_for_reads.
3 4 5 |
# File 'lib/tcr/configuration.rb', line 3 def block_for_reads @block_for_reads end |
#cassette_library_dir ⇒ Object
Returns the value of attribute cassette_library_dir.
3 4 5 |
# File 'lib/tcr/configuration.rb', line 3 def cassette_library_dir @cassette_library_dir end |
#format ⇒ Object
Returns the value of attribute format.
3 4 5 |
# File 'lib/tcr/configuration.rb', line 3 def format @format end |
#hit_all ⇒ Object
Returns the value of attribute hit_all.
3 4 5 |
# File 'lib/tcr/configuration.rb', line 3 def hit_all @hit_all end |
#hook_tcp_ports ⇒ Object
Returns the value of attribute hook_tcp_ports.
3 4 5 |
# File 'lib/tcr/configuration.rb', line 3 def hook_tcp_ports @hook_tcp_ports end |
Instance Method Details
#reset_defaults! ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/tcr/configuration.rb', line 9 def reset_defaults! @cassette_library_dir = "fixtures/tcr_cassettes" @hook_tcp_ports = [] @block_for_reads = false @format = "json" @hit_all = false end |