module PlainSerializer::Helpers

The module which provides helpers

Public Instance Methods

extract_options!(array) click to toggle source
# File lib/plain_serializer/helpers.rb, line 8
def extract_options!(array)
  array.last.is_a?(Hash) ? array.pop : {}
end