def ranges
      return nil unless valid?
      @chapter = nil
      fix_chapter_for_jude if book_id == 'JUD'
      [@details[:refs]].flatten.map do |ref|
        normalize_range(ref) || normalize_ref(ref)
      end
    end
def ranges
      return nil unless valid?
      @chapter = nil
      fix_chapter_for_jude if book_id == 'JUD'
      [@details[:refs]].flatten.map do |ref|
        normalize_range(ref) || normalize_ref(ref)
      end
    end
Create a new Reference instance by passing in the user-supplied bible reference as a string.
 Returns an array of pairs, each one being the from and to for a range.
 For single verses, the same ref is repeated twice. This is most helpful
 for converting the entire passage into a SQL query, and in fact is exactly
 why this library was built. See https://github.com/seven1m/bible_api/blob/master/app.rb
 for an example.