class BoundaryDays
Constants
- VERSION
Public Class Methods
all()
click to toggle source
# File lib/boundary_days.rb, line 9 def all self.new(Builder.new.all) end
month()
click to toggle source
# File lib/boundary_days.rb, line 17 def month self.new(Builder.new.month) end
new(builder)
click to toggle source
# File lib/boundary_days.rb, line 176 def initialize(builder) @builder = builder end
week()
click to toggle source
# File lib/boundary_days.rb, line 13 def week self.new(Builder.new.week) end
Public Instance Methods
beginning_of_week_wday(value)
click to toggle source
# File lib/boundary_days.rb, line 32 def beginning_of_week_wday(value) @builder.beginning_of_week_wday = value self end
end_of_week_wday(value)
click to toggle source
# File lib/boundary_days.rb, line 37 def end_of_week_wday(value) @builder.end_of_week_wday = value self end
from(value)
click to toggle source
# File lib/boundary_days.rb, line 22 def from(value) @builder.from = value self end
to(value)
click to toggle source
# File lib/boundary_days.rb, line 27 def to(value) @builder.to = value self end