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 "rspec" | |
### target class | |
class Calculate | |
def initialize | |
# わかりやすい初期値をいれる | |
@result = -9999 | |
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
equire: './ci/custom_cops/lib/custom_cops' | |
AllCops: | |
TargetRubyVersion: 2.4 | |
# RuboCop has a bunch of cops enabled by default. This setting tells RuboCop | |
# to ignore them, so only the ones explicitly set in this file are enabled. | |
DisabledByDefault: true | |
Exclude: | |
- '**/templates/**/*' | |
- '**/vendor/**/*' |