Class: Cheftacular::Pleasantries

Inherits:
Object
  • Object
show all
Defined in:
lib/cheftacular/pleasantries.rb

Instance Method Summary collapse

Constructor Details

#initialize(options, config) ⇒ Pleasantries

Returns a new instance of Pleasantries.



3
4
5
# File 'lib/cheftacular/pleasantries.rb', line 3

def initialize options, config
  @options, @config  = options, config
end

Instance Method Details

#good_luck_fridaysObject



7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# File 'lib/cheftacular/pleasantries.rb', line 7

def good_luck_fridays #https://gist.github.com/exAspArk/4f18795bc89b6e2666ee
  friday_jumper = %{
┓┏┓┏┓┃
┛┗┛┗┛┃⟍ ○⟋
┓┏┓┏┓┃  ∕       Friday
┛┗┛┗┛┃ノ)
┓┏┓┏┓┃          deploy,
┛┗┛┗┛┃
┓┏┓┏┓┃          good
┛┗┛┗┛┃
┓┏┓┏┓┃          luck!
┃┃┃┃┃┃
┻┻┻┻┻┻
  }.strip!

  puts(friday_jumper) if Time.now.friday? && @options['env'] == 'production'
end