Class: Fixnum

Inherits:
Object
  • Object
show all
Defined in:
lib/monkey_patches.rb

Overview

monkey-patch to fix JSON_pure noinspection RubyUnusedLocalVariable

Instance Method Summary collapse

Instance Method Details

#to_json(options = nil) ⇒ String

Returns The string value of the number.

Returns:

  • (String)

    The string value of the number



8
9
10
# File 'lib/monkey_patches.rb', line 8

def to_json(options = nil)
  to_s
end