Class: Cheftacular::Pleasantries
- Inherits:
-
Object
- Object
- Cheftacular::Pleasantries
- Defined in:
- lib/cheftacular/pleasantries.rb
Instance Method Summary collapse
- #good_luck_fridays ⇒ Object
-
#initialize(options, config) ⇒ Pleasantries
constructor
A new instance of Pleasantries.
Constructor Details
#initialize(options, config) ⇒ Pleasantries
Returns a new instance of Pleasantries.
3 4 5 |
# File 'lib/cheftacular/pleasantries.rb', line 3 def initialize , config @options, @config = , config end |
Instance Method Details
#good_luck_fridays ⇒ Object
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 |