struct Spectator::Formatting::Components::Comment(T)


Object that can be stringified pre-pended with a comment mark (#).

Defined in:



Class Method Summary

Instance Method Summary

Instance methods inherited from class Object

should(matcher, message = nil) should, should_eventually(matcher, message = nil) should_eventually, should_never(matcher, message = nil) should_never, should_not(matcher, message = nil) should_not

Constructor Detail

def : T) #

Creates a comment with the specified content.

[View source]

Class Method Detail

def self.colorize(content) #

Creates a colored comment.

[View source]

Instance Method Detail

def to_s(io) #

Writes the comment to the output.

[View source]