Sha256: 679e77ca46d0750be06f0af68bc4821cb4fe9e7134efc5295b48892818380ead
Contents?: true
Size: 339 Bytes
Versions: 56
Compression:
Stored size: 339 Bytes
Contents
# frozen_string_literal: true module RuboCop module Cop # Common functionality for handling Rational literals. module RationalLiteral extend NodePattern::Macros private def_node_matcher :rational_literal?, <<~PATTERN (send (int _) :/ (rational _)) PATTERN end end end
Version data entries
56 entries across 54 versions & 5 rubygems