Class: DakeScheme::Regex

Inherits:
Scheme
  • Object
show all
Defined in:
lib/dake/scheme.rb

Constant Summary collapse

PATTERN =
['^']

Instance Attribute Summary

Attributes inherited from Scheme

#path, #src, #step

Instance Method Summary collapse

Methods inherited from Scheme

#checksum, #exist?, #mtime

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