Class: Lucid::InterfaceRb::Matcher::Percent

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



100
101
102
# File 'lib/lucid/interface_rb/matcher.rb', line 100

def self.description
  'Matchers with delimited regexp.'
end

Instance Method Details

#typed_patternObject



96
97
98
# File 'lib/lucid/interface_rb/matcher.rb', line 96

def typed_pattern
  " %r{^#{pattern}$}"
end