Last active
March 15, 2019 21:57
-
-
Save mmyoji/e82b07565abc00adbfd3d035986b189a to your computer and use it in GitHub Desktop.
Testing YAML variables
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
ja: | |
activerecord: | |
models: | |
admin_user: 管理ユーザー | |
attributes: | |
default: &default | |
nickname: ニックネーム | |
email: メールアドレス | |
bio: BIO | |
slug: スラグ | |
admin_user: | |
<<: *default | |
admin_user/contributor: | |
<<: *default | |
hoge: | |
default: &default | |
foo: FOO | |
bar: BAR | |
buz: BUZ | |
admin_user: | |
# If you skip `ja.activerecord.hoge.default`, | |
# `ja.activerecord.attributes.default` is applied here. | |
<<: *default | |
admin_user/contributor: | |
<<: *default | |
bar: BARRR |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment