class

Tokei::Api::Views::Contexts::LayoutContext

Inherits Reference < Object

Context for layout

Constructors

new(content : String, error_message : Nil | String = nil, meta_tags : String | Nil = nil)
Source

Instance methods

content
Source
content=(content : String)
Source
error_message
Source
error_message=(error_message : String | Nil)
Source
meta_tags
Source
meta_tags=(meta_tags : String | Nil)
Source
to_s(__io__ : IO) : Nil

Appends a short String representation of this object which includes its class name and its object address.

class Person
  def initialize(@name : String, @age : Int32)
  end
end

Person.new("John", 32).to_s # => #<Person:0x10a199f20>
Source