Module: Tabl::Formats::Html

Defined in:
lib/tabl/formats/html.rb

Class Method Summary collapse

Class Method Details

.default_valueObject



6
7
8
# File 'lib/tabl/formats/html.rb', line 6

def self.default_value
  '-'
end

.format(value) ⇒ Object



10
11
12
# File 'lib/tabl/formats/html.rb', line 10

def self.format(value)
  ERB::Util.h(value)
end