| Conditions | 1 |
| Total Lines | 17 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 4 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | 1 | require_relative "manifest" |
|
| 29 | 1 | def options(title, resume) |
|
| 30 | 1 | options = resume[:options] |
|
| 31 | 1 | author = options[:author] |
|
| 32 | { |
||
| 33 | 1 | margin_top: options[:margin_top], |
|
| 34 | margin_bottom: options[:margin_bottom], |
||
| 35 | margin_left: options[:margin_left], |
||
| 36 | margin_right: options[:margin_right], |
||
| 37 | repeat: options[:repeat], |
||
| 38 | info: { |
||
| 39 | Title: title, |
||
| 40 | Author: author, |
||
| 41 | Creator: options[:repo_link], |
||
| 42 | CreationDate: Time.now |
||
| 43 | } |
||
| 44 | } |
||
| 45 | end |
||
| 46 | 1 | private_class_method :options |
|
| 50 |