Sha256: b63f922abb1859598a2a0047e589cd6887d47f5bd31577c4cf2b0517fd7b00db
Contents?: true
Size: 380 Bytes
Versions: 10
Compression:
Stored size: 380 Bytes
Contents
# frozen_string_literal: true module Bankai # :nodoc: module Helper protected def pg? gemfile.match?(/gem .pg./) end def mysql? gemfile.match?(/gem .mysql2./) end def capistrano? gemfile.match?(/gem .capistrano./) end private def gemfile @gemfile ||= File.read(destination_root + '/Gemfile') end end end
Version data entries
10 entries across 10 versions & 1 rubygems