Class: FontSizeString

Inherits:
GformatString show all
Defined in:
lib/models/gformat_string.rb

Instance Method Summary collapse

Methods inherited from GformatString

#to_html_format

Instance Method Details

#formatObject



28
29
30
# File 'lib/models/gformat_string.rb', line 28

def format
  return self.gsub(/\[h\](.+)\[\/h\]/,'<span style="font-size:27px">\1</span>')
end