Class: RSpec::Hermetic::Probe::Base
- Inherits:
-
Object
- Object
- RSpec::Hermetic::Probe::Base
- Defined in:
- lib/rspec/hermetic/probe/base.rb
Direct Known Subclasses
Constants, Env, Filesystem, Globals, Rails, Randomness, Resources, RubyRuntime, Time
Instance Method Summary collapse
-
#initialize(configuration) ⇒ Base
constructor
A new instance of Base.
- #name ⇒ Object
Constructor Details
#initialize(configuration) ⇒ Base
Returns a new instance of Base.
7 8 9 |
# File 'lib/rspec/hermetic/probe/base.rb', line 7 def initialize(configuration) @configuration = configuration end |
Instance Method Details
#name ⇒ Object
11 12 13 |
# File 'lib/rspec/hermetic/probe/base.rb', line 11 def name self.class.name.split("::").last.gsub(/([a-z])([A-Z])/, "\\1_\\2").downcase.to_sym end |