class Object
Public Class Methods
demodulize()
click to toggle source
# File lib/billme/support/helpers.rb, line 2 def self.demodulize self.to_s.gsub(/^.*::/, '') end
Public Instance Methods
round_money()
click to toggle source
# File lib/billme/support/helpers.rb, line 12 def round_money '%.2f' % self end
show(input)
click to toggle source
# File lib/billme/support/helpers.rb, line 6 def show(input) input ||= '-' end