Method: Capybara::Selector::RegexpDisassembler#initialize

Defined in:
lib/capybara/selector/regexp_disassembler.rb

#initialize(regexp) ⇒ RegexpDisassembler

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of RegexpDisassembler.



9
10
11
# File 'lib/capybara/selector/regexp_disassembler.rb', line 9

def initialize(regexp)
  @regexp = regexp
end