class Date

Add precision +Runt::DPrecision+ to standard library classes Date and DateTime (which is a subclass of Date). Also, add an inlcude? method for interoperability with +Runt::TExpr+ classes

Attributes

date_precision[RW]

Public Instance Methods

include?(expr) click to toggle source
# File lib/runt.rb, line 166
def include?(expr)
  eql?(expr)
end