Class: RSpec::Bash::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/rspec/bash/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_conditionalsObject

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_fdObject

Returns the value of attribute read_fd.



5
6
7
# File 'lib/rspec/bash/configuration.rb', line 5

def read_fd
  @read_fd
end

#throttleObject

Returns the value of attribute throttle.



6
7
8
# File 'lib/rspec/bash/configuration.rb', line 6

def throttle
  @throttle
end

#verboseObject

Returns the value of attribute verbose.



7
8
9
# File 'lib/rspec/bash/configuration.rb', line 7

def verbose
  @verbose
end

#write_fdObject

Returns the value of attribute write_fd.



8
9
10
# File 'lib/rspec/bash/configuration.rb', line 8

def write_fd
  @write_fd
end