class Cobi::Heading

Attributes

text[R]

Public Class Methods

new(text) click to toggle source
# File lib/cobi/heading.rb, line 4
def initialize(text)
  @text = text
end

Public Instance Methods

focused?() click to toggle source
# File lib/cobi/heading.rb, line 12
def focused?
  false
end
to_s() click to toggle source
# File lib/cobi/heading.rb, line 8
def to_s
  Pastel.new.on_black.white(text)
end