method

padding

Importance_0
v3.2.1 - Show latest stable - 0 notes - Class: ActiveSupport::Multibyte::Chars
padding(padsize, padstr=' ') protected

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/multibyte/chars.rb, line 462
        def padding(padsize, padstr=' ') #:nodoc:
          if padsize != 0
            chars(padstr * ((padsize / Unicode.u_unpack(padstr).size) + 1)).slice(0, padsize)
          else
            ''
          end
        end
Register or log in to add new notes.