class Warg::Console::SelectGraphicRendition::Renderer

Public Class Methods

new(text) click to toggle source
# File lib/warg.rb, line 555
def initialize(text)
  @text = text
  @select_graphic_rendition = SelectGraphicRendition.new
end

Public Instance Methods

to_s() click to toggle source
# File lib/warg.rb, line 565
def to_s
  @select_graphic_rendition.(@text)
end
to_str() click to toggle source
# File lib/warg.rb, line 569
def to_str
  to_s
end
with(**options) click to toggle source
# File lib/warg.rb, line 560
def with(**options)
  @select_graphic_rendition = @select_graphic_rendition.modify(**options)
  self
end