Method: Datoki::Def_Field#html_escape

Defined in:
lib/datoki.rb

#html_escapeObject



93
94
95
96
97
98
99
100
# File 'lib/datoki.rb', line 93

def html_escape
  @html_escape ||= begin
                     fields.inject({}) { |memo, (name, meta)|
                       memo[name] = meta[:html_escape]
                       memo
                     }
                   end
end