module ErubisHelper
Public Class Methods
spaces(amount = 1)
click to toggle source
# File lib/helpers/erubis_helper.rb, line 7 def self.spaces(amount = 1) (0..amount).map { "\s" }.join end
tabs(amount = 1)
click to toggle source
# File lib/helpers/erubis_helper.rb, line 3 def self.tabs(amount = 1) (0..amount).map { "\t" }.join end