lib/puppet_x/coi/jboss/functions/member.rb
# PRIVATE INTERNAL FUNCTION. A member function from newer stdlib
#
# @see [puppetlabs/stdlib member function]
#      (https://github.com/puppetlabs/puppetlabs-stdlib/blob/4.25.1/lib/puppet/parser/functions/member.rb)
# @param arguments [Array] should be only two argument in array
# @return [string] casted value to string
PRIVATE INTERNAL FUNCTION. A member function from newer stdlib
PRIVATE INTERNAL FUNCTION . A member function from newer stdlib
def ensure_str_fixnum_array(item)
      msg = 'jboss_member(): Item to search for must be a string, fixnum, or array'
      err = Puppet::ParseError
      raise(err, msg) unless str_or_int?(item) || item.is_a?(Array)
      item
    end
def ensure_str_fixnum_array ( item ) msg = 'jboss_member(): Item to search for must be a string, fixnum, or array' err = Puppet :: ParseError raise ( err , msg ) unless str_or_int? ( item ) || item . is_a? ( Array ) item end
PRIVATE INTERNAL FUNCTION.
PRIVATE INTERNAL FUNCTION .
casted value to string
casted value to string
string
item
<not_specific>
arguments
<not_specific>
should be only two argument in array
should be only two argument in array
see
[puppetlabs/stdlib member function]
[ puppetlabs / stdlib member function ]