forked from kaityo256/yaml_cv
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from jerrywdlee/jerrywdlee/add-date-auto
Jerrywdlee/add date auto
- Loading branch information
Showing
9 changed files
with
55 additions
and
9 deletions.
There are no files selected for viewing
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
class Config | ||
class << self | ||
@@settings = { | ||
VERSION: '0.4.0' | ||
} | ||
|
||
@@settings.each do |key, value| | ||
define_method key.to_sym do | ||
value.freeze | ||
end | ||
end | ||
end | ||
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
# 名前等 | ||
date: <%= @date.strftime("%Jf") %>現在 | ||
# date が空白の時、今日の日付(和暦)が自動で入ります | ||
# date: <%= @date.strftime("%Jf") %>現在 | ||
name_kana: りれき たろう | ||
name: 履歴 太郎 | ||
birth_day: <%= (@date << 25 * 12).strftime("%Jf") %> (満 25 歳) | ||
birth_day: <%= (@date << 25 * 12).strftime("%Jf") %> | ||
# 年齢は誕生日を基づいて計算し、下記の書式になります | ||
# <%= (@date << 25 * 12).strftime("%Jf") %> (満 25 歳) | ||
gender: 男 | ||
cell_phone: 090-1234-5678 | ||
email: [email protected] | ||
|
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