Method: Lazy::PP::JSON#initialize
- Defined in:
- lib/lazy/pp/json.rb
#initialize(raw, indent_count = nil) ⇒ JSON
Returns a new instance of JSON.
13 14 15 16 17 18 19 |
# File 'lib/lazy/pp/json.rb', line 13 def initialize(raw, indent_count=nil) super(raw) @indent_count = indent_count || 1 @newline_separator = false @key_max_length = 0 @pretty_print = nil end |