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 member(arguments)
      validate_method_parameters('jboss_member', arguments) do
        { :desc => '2', :condition => arguments.size != 2 }
      end
      item, array = unpack_arguments(arguments)
      ensure_not_empty(item)
      (item - array).empty?
    end
def member ( arguments ) validate_method_parameters ( 'jboss_member' , arguments ) do { :desc => '2' , :condition => arguments . size != 2 } end item , array = unpack_arguments ( arguments ) ensure_not_empty ( item ) ( item - array ) . empty? end
PRIVATE INTERNAL FUNCTION.
PRIVATE INTERNAL FUNCTION .
casted value to string
casted value to string
string
arguments
should be only two argument in array
should be only two argument in array
see
[puppetlabs/stdlib member function]
[ puppetlabs / stdlib member function ]