class Embork::Environment::ErblessCache

Public Instance Methods

[]=(key, value) click to toggle source
Calls superclass method
# File lib/embork/environment.rb, line 13
def []=(key, value)
  # This is ugly, but it keeps ERB fresh
  if value.has_key?('pathname') && value["pathname"].match(/\.erb($|\.)/)
    value
  else
    super
  end
end