This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Animal | |
| attr_reader :movable | |
| def move | |
| movable.move | |
| end | |
| end | |
| class Walkable | |
| def move |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Animal | |
| def move | |
| raise NoMethodError | |
| end | |
| end | |
| class Walkable | |
| def move | |
| 'walking' | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Animal | |
| def move | |
| 'walking' | |
| end | |
| end | |
| class Pig < Animal | |
| end | |
| class Dog < Animal |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Animal | |
| def move | |
| 'walking' | |
| end | |
| end | |
| class Pig < Animal | |
| end | |
| class Dog < Animal |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Animal | |
| def move | |
| 'walking' | |
| end | |
| end | |
| class Pig < Animal | |
| end | |
| class Dog < Animal |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM ruby:2.5.1-alpine3.7 | |
| RUN apk update \ | |
| && apk upgrade \ | |
| && apk add --no-cache bash \ | |
| git \ | |
| openssh \ | |
| build-base \ | |
| linux-headers \ | |
| postgresql-dev \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env groovy | |
| pipeline { | |
| agent any | |
| environment { | |
| HOST_NAME = "<HOST NAME>" | |
| IMAGE_NAME = "<IMAGE NAME>" | |
| TAG_NAME = BRANCH_NAME.toLowerCase() | |
| STAGING_NAME = "${IMAGE_NAME}-${TAG_NAME}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env groovy | |
| import groovy.json.JsonOutput | |
| pipeline { | |
| agent any | |
| environment { | |
| SLACK_URL = "<SLACK INCOMING WEBHOOK URL>" | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM ruby:2.5.1-alpine3.7 | |
| RUN apk update \ | |
| && apk upgrade \ | |
| && apk add --no-cache bash \ | |
| git \ | |
| openssh \ | |
| build-base \ | |
| linux-headers \ | |
| postgresql-dev \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env groovy | |
| import groovy.json.JsonOutput | |
| pipeline { | |
| agent any | |
| environment { | |
| HOST_NAME = "<HOST NAME>" | |
| IMAGE_NAME = "<IMAGE NAME>" |
NewerOlder