Module: Rumonade::ArrayExtensions::ClassMethods

Defined in:
lib/rumonade/array.rb

Instance Method Summary collapse

Instance Method Details

#emptyObject



11
12
13
# File 'lib/rumonade/array.rb', line 11

def empty
  []
end

#unit(value) ⇒ Object



7
8
9
# File 'lib/rumonade/array.rb', line 7

def unit(value)
  [value]
end