method

to_json

v1_9_3_125 - Show latest stable - Class: Range
to_json(*args)
public

Stores class name (Range) with JSON array of arguments a which include first (integer), last (integer), and exclude_end? (boolean) as JSON string.