Module: Hx::CircumfixPath

Includes:
Filter
Included in:
AddPath, StripPath
Defined in:
lib/hx.rb

Instance Method Summary collapse

Methods included from Filter

#each_entry, #each_entry_path, #get_entry

Methods included from View

#each_entry, #edit_entry

Instance Method Details

#initialize(input, options) ⇒ Object



170
171
172
173
174
175
# File 'lib/hx.rb', line 170

def initialize(input, options)
  @input = input
  @prefix = options[:prefix]
  @suffix = options[:suffix]
  @regexp = Path.make_circumfix_re(@prefix, @suffix)
end