Exception: Eventual::WdayMatchError
- Inherits:
-
StandardError
- Object
- StandardError
- Eventual::WdayMatchError
- Defined in:
- lib/eventual/syntax_nodes.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#initialize(value) ⇒ WdayMatchError
constructor
A new instance of WdayMatchError.
- #to_s ⇒ Object
Constructor Details
#initialize(value) ⇒ WdayMatchError
Returns a new instance of WdayMatchError.
11 12 13 |
# File 'lib/eventual/syntax_nodes.rb', line 11 def initialize value @value end |
Instance Method Details
#to_s ⇒ Object
15 16 17 |
# File 'lib/eventual/syntax_nodes.rb', line 15 def to_s "El #{@value.day} de #{MonthNames[@value.month]} del #{@value.year} cae en #{Weekdays[@value.wday]}" end |