Sha256: a028e898da33484cc39769c3dbaeee898788e81e71311d1c9a168d543c586807
Contents?: true
Size: 305 Bytes
Versions: 4
Compression:
Stored size: 305 Bytes
Contents
# Copyright (c) 2020 Jerome Arbez-Gindre # frozen_string_literal: true # adding a method to string to figure out if a string is commented or # not. class String # @return [Boolean] true if the line is commented def commented? !!match(Defmastership::Core::DMRegexp::SINGLE_LINE_COMMENT) end end
Version data entries
4 entries across 4 versions & 1 rubygems