Module: Quirk
- Defined in:
- lib/quirk.rb
Defined Under Namespace
Constant Summary collapse
- VERSION =
'0.0.6'
- QUIRKFILE =
ENV['QUIRKFILE'] || "#{ENV['HOME']}/.quirk"
- EDITOR =
ENV['EDITOR'] || 'vi'
Class Method Summary collapse
- .today ⇒ Object
-
.today=(date) ⇒ Object
for testing.
Class Method Details
.today ⇒ Object
9 10 11 |
# File 'lib/quirk.rb', line 9 def self.today @today || Date.today end |
.today=(date) ⇒ Object
for testing
13 14 15 |
# File 'lib/quirk.rb', line 13 def self.today=(date) # for testing @today = date end |