This file contains 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 MyFatalError < StandardError; end | |
class MyRetryableError < StandardError; end | |
class MyBatchExecutor | |
def initialize(*batches) | |
@batches = batches | |
end | |
def execute | |
retryable = true |
This file contains 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
require 'minitest/autorun' | |
def nabeatsu(input) | |
(1..input).map(&:aho).push('omoro').join(' ') | |
end | |
class Integer | |
def aho | |
aho? ? 'Aho' : self | |
end |
This file contains 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
<!DOCTYPE html> | |
<html lang="ja"> | |
<head> | |
<title>カレーのレシピ</title> | |
<meta charset="UTF-8"> | |
<meta name="author" content="山田サチ子"> | |
</head> | |
<body> | |
<h1>カレーのレシピ</h1> | |