Class: RSpec::Hermetic::Probe::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/rspec/hermetic/probe/base.rb

Instance Method Summary collapse

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

#nameObject



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