Module: Clot::Deprecated

Defined in:
lib/clot/deprecated.rb

Instance Method Summary collapse

Instance Method Details

#unknown_tag(name, params, tokens) ⇒ Object



3
4
5
6
7
8
9
# File 'lib/clot/deprecated.rb', line 3

def unknown_tag(name, params, tokens)
  if name == "field" || name == "text" || name == "file" || name == "select"
    raise Error.new("USING DEPRECATED TAG")
  else
    super name,params,tokens
  end
end