Class: Lucid::InterfaceRb::Matcher::Regexp

Inherits:
BaseMatcher show all
Defined in:
lib/lucid/interface_rb/matcher.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from BaseMatcher

cli_option_string, #initialize, #step, #to_s

Constructor Details

This class inherits a constructor from Lucid::InterfaceRb::Matcher::BaseMatcher

Class Method Details

.descriptionObject



80
81
82
# File 'lib/lucid/interface_rb/matcher.rb', line 80

def self.description
  'Matchers with parentheses.'
end

Instance Method Details

#typed_patternObject



76
77
78
# File 'lib/lucid/interface_rb/matcher.rb', line 76

def typed_pattern
  " (/^#{pattern}$/)"
end