class LunarBlessing::OutOfRange
Attributes
year[R]
Public Class Methods
new(year)
click to toggle source
# File lib/lunar_blessing.rb, line 98 def initialize(year) @year = year end
Public Instance Methods
message()
click to toggle source
# File lib/lunar_blessing.rb, line 102 def message "The #{year} year you provided is out of range. This gem only support 1900 - 2099." end