Class: Time

Inherits:
Object
  • Object
show all
Includes:
Everythingrb::StringQuotable
Defined in:
lib/everythingrb/time.rb

Overview

Extensions to Ruby’s core Time class

Provides:

  • #in_quotes, #with_quotes: Wrap time representations in quotes

Examples:

require "everythingrb/time"

Time.new(2025, 5, 3).in_quotes

Method Summary

Methods included from Everythingrb::StringQuotable

#in_quotes