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

Defined in:
lib/eggshell/bundles/basics.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`



846
847
848
# File 'lib/eggshell/bundles/basics.rb', line 846

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