Module: Helper

Defined in:
lib/jongleur/helpers.rb

Overview

this module contains generic helper methods that are used for implementation purposes

Instance Method Summary collapse

Instance Method Details

#contains_array?(an_array) ⇒ Boolean

Returns:

  • (Boolean)


6
7
8
# File 'lib/jongleur/helpers.rb', line 6

def contains_array?(an_array)
  (self & an_array).size == an_array.size
end