class Haora::FinishCommand

Public Class Methods

new(workbook) click to toggle source
Calls superclass method Haora::Command::new
# File lib/haora/finish.rb, line 15
def initialize(workbook)
  super(workbook)
end
with(workbook) click to toggle source
# File lib/haora/finish.rb, line 5
def self.with(workbook)
  FinishCommand.new(workbook)
end

Public Instance Methods

execute() click to toggle source
# File lib/haora/finish.rb, line 9
def execute
  day(at: date).finish(@params)
end