class Trenni::Builder::Fragment

def == other

def == other
	# This is a bit of a hack... but is required for existing specs to pass:
	self.to_s == other.to_s
end

def call(builder)

def call(builder)
	@block.call(builder)
end

def initialize(block)

def initialize(block)
	@block = block
	@builder = nil
end

def to_s

def to_s
	unless @builder
		@builder = Builder.new
		
		self.call(@builder)
	end
	
	return @builder.to_s
end