module Leftpad
Public Instance Methods
leftpad(chars, filler = ' ')
click to toggle source
# File lib/leftpad_moamen.rb, line 4 def leftpad(chars, filler = ' ') self.rjust(chars, filler) end
# File lib/leftpad_moamen.rb, line 4 def leftpad(chars, filler = ' ') self.rjust(chars, filler) end