struct Bool

Overview

Bool has only two possible values: true and false. They are constructed using these literals:

true  # A Bool that is true
false # A Bool that is false

See Bool literals in the language reference.

Defined in:

bencoding/bencode.cr

Constructors

Instance Method Summary

Instance methods inherited from class Object

bencode(builder : Bencoding::Builder)
bencode : String
bencode

Constructor methods inherited from class Object

bdecode(io : IO) : self
bdecode(string : String) : self
bdecode

Constructor Detail

def self.new(parser : Bencoding::Parser) #

[View source]

Instance Method Detail

def bencode(builder : Bencoding::Builder) #

[View source]