class PrettyPrint::Group
Attributes
breakables[R]
depth[R]
Public Class Methods
new(depth)
click to toggle source
# File lib/project/prettyprint.rb, line 285 def initialize(depth) @depth = depth @breakables = [] @break = false end
Public Instance Methods
break()
click to toggle source
# File lib/project/prettyprint.rb, line 292 def break @break = true end
break?()
click to toggle source
# File lib/project/prettyprint.rb, line 296 def break? @break end
first?()
click to toggle source
# File lib/project/prettyprint.rb, line 300 def first? if defined? @first false else @first = false true end end