Class: RSpec::Bash::Configuration
- Inherits:
-
Object
- Object
- RSpec::Bash::Configuration
- Defined in:
- lib/rspec/bash/configuration.rb
Instance Attribute Summary collapse
-
#allow_unstubbed_conditionals ⇒ Object
Returns the value of attribute allow_unstubbed_conditionals.
-
#read_fd ⇒ Object
Returns the value of attribute read_fd.
-
#throttle ⇒ Object
Returns the value of attribute throttle.
-
#verbose ⇒ Object
Returns the value of attribute verbose.
-
#write_fd ⇒ Object
Returns the value of attribute write_fd.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
10 11 12 13 14 15 16 |
# File 'lib/rspec/bash/configuration.rb', line 10 def initialize() @allow_unstubbed_conditionals = true @throttle = 25 / 1000.0 @read_fd = 62 @write_fd = 63 @verbose = false end |
Instance Attribute Details
#allow_unstubbed_conditionals ⇒ Object
Returns the value of attribute allow_unstubbed_conditionals.
4 5 6 |
# File 'lib/rspec/bash/configuration.rb', line 4 def allow_unstubbed_conditionals @allow_unstubbed_conditionals end |
#read_fd ⇒ Object
Returns the value of attribute read_fd.
5 6 7 |
# File 'lib/rspec/bash/configuration.rb', line 5 def read_fd @read_fd end |
#throttle ⇒ Object
Returns the value of attribute throttle.
6 7 8 |
# File 'lib/rspec/bash/configuration.rb', line 6 def throttle @throttle end |
#verbose ⇒ Object
Returns the value of attribute verbose.
7 8 9 |
# File 'lib/rspec/bash/configuration.rb', line 7 def verbose @verbose end |
#write_fd ⇒ Object
Returns the value of attribute write_fd.
8 9 10 |
# File 'lib/rspec/bash/configuration.rb', line 8 def write_fd @write_fd end |