class TreeContext::Alternator

Public Class Methods

new(first, second) click to toggle source
# File lib/templates/default/fulldoc/html/setup.rb, line 148
def initialize(first, second)
  @next = first
  @after = second
end

Public Instance Methods

next() click to toggle source
# File lib/templates/default/fulldoc/html/setup.rb, line 153
def next
  @next, @after = @after, @next
  @after
end