# frozen_string_literal: true class Date # @return [String] - yyyy-mm def month_year input[0, 7] end end