Home
last modified time | relevance | path

Searched refs:padstr (Results 1 – 5 of 5) sorted by relevance

/plugin/asciidocjs/node_modules/@asciidoctor/opal-runtime/src/
Dopal.js7567 $def(self, '$center', function $$center(width, padstr) { argument
7571 if (padstr == null) padstr = " ";
7573 padstr = ($coerce_to(padstr, $$$('String'), 'to_str')).$to_s();
7574 if ($truthy(padstr['$empty?']())) {
7581 var ljustified = self.$ljust($rb_divide($rb_plus(width, self.length), 2).$ceil(), padstr),
7582 rjustified = self.$rjust($rb_divide($rb_plus(width, self.length), 2).$floor(), padstr);
8056 $def(self, '$ljust', function $$ljust(width, padstr) { argument
8060 if (padstr == null) padstr = " ";
8062 padstr = ($coerce_to(padstr, $$$('String'), 'to_str')).$to_s();
8063 if ($truthy(padstr['$empty?']())) {
[all …]
Dindex.mjs7291 $def(self, '$center', function $$center(width, padstr) { argument
7295 if (padstr == null) padstr = " ";
7297 padstr = ($coerce_to(padstr, $$$('String'), 'to_str')).$to_s();
7298 if ($truthy(padstr['$empty?']())) {
7303 var ljustified = self.$ljust($rb_divide($rb_plus(width, self.length), 2).$ceil(), padstr),
7304 rjustified = self.$rjust($rb_divide($rb_plus(width, self.length), 2).$floor(), padstr);
7755 $def(self, '$ljust', function $$ljust(width, padstr) { argument
7759 if (padstr == null) padstr = " ";
7761 padstr = ($coerce_to(padstr, $$$('String'), 'to_str')).$to_s();
7762 if ($truthy(padstr['$empty?']())) {
[all …]
Dindex.cjs7300 $def(self, '$center', function $$center(width, padstr) {
7304 if (padstr == null) padstr = " ";
7306 padstr = ($coerce_to(padstr, $$$('String'), 'to_str')).$to_s();
7307 if ($truthy(padstr['$empty?']())) {
7312 var ljustified = self.$ljust($rb_divide($rb_plus(width, self.length), 2).$ceil(), padstr),
7313 rjustified = self.$rjust($rb_divide($rb_plus(width, self.length), 2).$floor(), padstr);
7764 $def(self, '$ljust', function $$ljust(width, padstr) {
7768 if (padstr == null) padstr = " ";
7770 padstr = ($coerce_to(padstr, $$$('String'), 'to_str')).$to_s();
7771 if ($truthy(padstr['$empty?']())) {
[all …]
/plugin/asciidocjs/node_modules/@asciidoctor/core/dist/graalvm/
Dasciidoctor.js7567 $def(self, '$center', function $$center(width, padstr) { argument
7571 if (padstr == null) padstr = " ";
7573 padstr = ($coerce_to(padstr, $$$('String'), 'to_str')).$to_s();
7574 if ($truthy(padstr['$empty?']())) {
7581 var ljustified = self.$ljust($rb_divide($rb_plus(width, self.length), 2).$ceil(), padstr),
7582 rjustified = self.$rjust($rb_divide($rb_plus(width, self.length), 2).$floor(), padstr);
8056 $def(self, '$ljust', function $$ljust(width, padstr) { argument
8060 if (padstr == null) padstr = " ";
8062 padstr = ($coerce_to(padstr, $$$('String'), 'to_str')).$to_s();
8063 if ($truthy(padstr['$empty?']())) {
[all …]
/plugin/asciidocjs/node_modules/@asciidoctor/core/dist/browser/
Dasciidoctor.js7570 $def(self, '$center', function $$center(width, padstr) { argument
7574 if (padstr == null) padstr = " ";
7576 padstr = ($coerce_to(padstr, $$$('String'), 'to_str')).$to_s();
7577 if ($truthy(padstr['$empty?']())) {
7584 var ljustified = self.$ljust($rb_divide($rb_plus(width, self.length), 2).$ceil(), padstr),
7585 rjustified = self.$rjust($rb_divide($rb_plus(width, self.length), 2).$floor(), padstr);
8059 $def(self, '$ljust', function $$ljust(width, padstr) { argument
8063 if (padstr == null) padstr = " ";
8065 padstr = ($coerce_to(padstr, $$$('String'), 'to_str')).$to_s();
8066 if ($truthy(padstr['$empty?']())) {
[all …]