3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# File 'lib/seat_geek/models/month_and_year.rb', line 3
def month_of_the_year
[{name: 'Jan 2016', value: '2016-01'},
{name: 'Feb 2016', value: '2016-02'},
{name: 'Mar 2016', value: '2016-03'},
{name: 'Apr 2016', value: '2016-04'},
{name: 'May 2016', value: '2016-05'},
{name: 'Jun 2016', value: '2016-06'},
{name: 'Jul 2016', value: '2016-07'},
{name: 'Aug 2016', value: '2016-08'},
{name: 'Sep 2016', value: '2016-09'},
{name: 'Oct 2016', value: '2016-10'},
{name: 'Nov 2016', value: '2016-11'},
{name: 'Dec 2016', value: '2016-12'}]
end
|