Class: DakeScheme::Regex
Constant Summary collapse
- PATTERN =
['^']
Instance Attribute Summary
Attributes inherited from Scheme
Instance Method Summary collapse
-
#initialize(scheme_part, path_part, step) ⇒ Regex
constructor
A new instance of Regex.
Methods inherited from Scheme
Constructor Details
#initialize(scheme_part, path_part, step) ⇒ Regex
27 28 29 30 31 |
# File 'lib/dake/scheme.rb', line 27 def initialize(scheme_part, path_part, step) @src = path_part @path = Regexp.compile("^#{path_part}$") @step = step end |