Class: Squib::TemplateOption
- Inherits:
-
Object
- Object
- Squib::TemplateOption
- Defined in:
- lib/squib/commands/data/template_option.rb
Instance Attribute Summary collapse
- #card_gap ⇒ Object
- #card_height ⇒ Object
- #card_ordering ⇒ Object
- #card_width ⇒ Object
- #crop_lines ⇒ Object
- #output_file ⇒ Object
- #sheet_align ⇒ Object
- #sheet_height ⇒ Object
- #sheet_margin ⇒ Object
- #sheet_width ⇒ Object
- #unit ⇒ Object
Instance Attribute Details
#card_gap ⇒ Object
101 102 103 104 105 106 107 |
# File 'lib/squib/commands/data/template_option.rb', line 101 def card_gap if not @card_gap.instance_of? Gap @card_gap = Gap.new @card_gap else @card_gap end end |
#card_height ⇒ Object
87 88 89 |
# File 'lib/squib/commands/data/template_option.rb', line 87 def card_height @card_height end |
#card_ordering ⇒ Object
89 90 91 |
# File 'lib/squib/commands/data/template_option.rb', line 89 def card_ordering @card_ordering end |
#card_width ⇒ Object
86 87 88 |
# File 'lib/squib/commands/data/template_option.rb', line 86 def card_width @card_width end |
#crop_lines ⇒ Object
91 92 93 |
# File 'lib/squib/commands/data/template_option.rb', line 91 def crop_lines @crop_lines end |
#output_file ⇒ Object
90 91 92 |
# File 'lib/squib/commands/data/template_option.rb', line 90 def output_file @output_file end |
#sheet_align ⇒ Object
85 86 87 |
# File 'lib/squib/commands/data/template_option.rb', line 85 def sheet_align @sheet_align end |
#sheet_height ⇒ Object
83 84 85 |
# File 'lib/squib/commands/data/template_option.rb', line 83 def sheet_height @sheet_height end |
#sheet_margin ⇒ Object
93 94 95 96 97 98 99 |
# File 'lib/squib/commands/data/template_option.rb', line 93 def sheet_margin if not @sheet_margin.instance_of? Margin @sheet_margin = Margin.new @sheet_margin else @sheet_margin end end |
#sheet_width ⇒ Object
82 83 84 |
# File 'lib/squib/commands/data/template_option.rb', line 82 def sheet_width @sheet_width end |
#unit ⇒ Object
81 82 83 |
# File 'lib/squib/commands/data/template_option.rb', line 81 def unit @unit end |