In Files

Parent

PrettyPrint::Group

Attributes

breakables[R]
depth[R]

Public Class Methods

new(depth) click to toggle source
                
# File prettyprint.rb, line 285
def initialize(depth)
  @depth = depth
  @breakables = []
  @break = false
end

Public Instance Methods

break() click to toggle source
                
# File prettyprint.rb, line 292
def break
  @break = true
end
break?() click to toggle source
                
# File prettyprint.rb, line 296
def break?
  @break
end
first?() click to toggle source
                
# File prettyprint.rb, line 300
def first?
  if defined? @first
    false
  else
    @first = false
    true
  end
end
blog comments powered by Disqus