Class: EvalHandler

Inherits:
SiteSettingHandler show all
Defined in:
lib/sitesettinghandler.rb

Constant Summary

Constants inherited from SiteSettingHandler

SiteSettingHandler::HANDLER_DIR, SiteSettingHandler::HANDLER_EXT

Instance Method Summary collapse

Methods inherited from SiteSettingHandler

_make_handler, add_handler, handler, #initialize, #parent, #type

Constructor Details

This class inherits a constructor from SiteSettingHandler

Instance Method Details

#match(source) ⇒ Object



119
120
121
# File 'lib/sitesettinghandler.rb', line 119

def match(source)
  eval(@value, binding, parent&.path || "(nil)") # rubocop:disable Security/Eval
end