Module: Eggshell::Bundles::Basics::StdFunctions

Defined in:
lib/eggshell/bundles/basics-old.rb

Overview

TODO:

catch exceptions???

Baseline functions.

Constant Summary collapse

FUNC_NAMES =
%w(str_repeat).freeze

Class Method Summary collapse

Class Method Details

.str_repeat(str, amt) ⇒ Object

Repeats ‘str` by a given `amt`



842
843
844
# File 'lib/eggshell/bundles/basics-old.rb', line 842

def self.str_repeat(str, amt)
	return str * amt
end