jcmuller/clock_indicator

View on GitHub
lib/clock_indicator/current_month_calendar.rb

Summary

Maintainability
A
0 mins
Test Coverage
module ClockIndicator
  class CurrentMonthCalendar
    def calendar
      @calendar ||= Gtk::Calendar.new.tap do |c|
        c.month = Time.now.month - 1
      end
    end
  end
end