Method: RuboCop::Cop::Style::ExponentialNotation#on_float
- Defined in:
- lib/rubocop/cop/style/exponential_notation.rb
#on_float(node) ⇒ Object
69 70 71 |
# File 'lib/rubocop/cop/style/exponential_notation.rb', line 69 def on_float(node) add_offense(node) if offense?(node) end |