Class: TrueClass

Inherits:
Object
  • Object
show all
Includes:
Everythingrb::InspectQuotable
Defined in:
lib/everythingrb/boolean.rb

Overview

Extensions to Ruby’s core TrueClass

Provides:

  • #in_quotes, #with_quotes: Wrap boolean values in quotes

Examples:

require "everythingrb/boolean"

true.in_quotes   # => "\"true\""
false.in_quotes  # => "\"false\""

Method Summary

Methods included from Everythingrb::InspectQuotable

#in_quotes