Parent

Methods

Files

Class/Module Index [+]

Quicksearch

RuboCop::Cop::Style::NumericLiterals

This cop checks for big numeric literals without _ between groups of digits in them.

Constants

MSG

Public Instance Methods

on_float(node) click to toggle source
# File lib/rubocop/cop/style/numeric_literals.rb, line 20
def on_float(node)
  check(node)
end
on_int(node) click to toggle source
# File lib/rubocop/cop/style/numeric_literals.rb, line 16
def on_int(node)
  check(node)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.