Class: Date
Overview
Add precision Runt::DPrecision
to standard library classes Date and DateTime (which is a subclass of Date). Also, add an include? method for interoperability with Runt::TExpr
classes
Constant Summary
Constants included from Runt
Runt::April, Runt::August, Runt::DAYS, Runt::December, Runt::Eighth, Runt::Eigth, Runt::February, Runt::Fifth, Runt::First, Runt::Fourth, Runt::Fri, Runt::Friday, Runt::January, Runt::July, Runt::June, Runt::Last, Runt::Last_of, Runt::MONTHS, Runt::March, Runt::May, Runt::Mon, Runt::Monday, Runt::Ninth, Runt::November, Runt::ORDINAL_ABBR, Runt::ORDINAL_SUFFIX, Runt::October, Runt::Sat, Runt::Saturday, Runt::Second, Runt::Second_to_last, Runt::September, Runt::Seventh, Runt::Sixth, Runt::Sun, Runt::Sunday, Runt::Tenth, Runt::Third, Runt::Thu, Runt::Thursday, Runt::Tue, Runt::Tuesday, Runt::VERSION, Runt::WEEK_OF_MONTH_ORDINALS, Runt::Wed, Runt::Wednesday
Instance Attribute Summary collapse
-
#date_precision ⇒ Object
Returns the value of attribute date_precision.
Method Summary
Methods included from Runt
#after, #before, const, day_name, format_date, format_time, #method_missing, month_name, ordinalize, #parse_time
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Runt
Instance Attribute Details
#date_precision ⇒ Object
Returns the value of attribute date_precision.
168 169 170 |
# File 'lib/runt.rb', line 168 def date_precision @date_precision end |