Class: Squib::TemplateOption

Inherits:
Object
  • Object
show all
Defined in:
lib/squib/commands/data/template_option.rb

Instance Attribute Summary collapse

Instance Attribute Details

#card_gapObject


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_heightObject


87
88
89
# File 'lib/squib/commands/data/template_option.rb', line 87

def card_height
  @card_height
end

#card_orderingObject


89
90
91
# File 'lib/squib/commands/data/template_option.rb', line 89

def card_ordering
  @card_ordering
end

#card_widthObject


86
87
88
# File 'lib/squib/commands/data/template_option.rb', line 86

def card_width
  @card_width
end

#crop_linesObject


91
92
93
# File 'lib/squib/commands/data/template_option.rb', line 91

def crop_lines
  @crop_lines
end

#output_fileObject


90
91
92
# File 'lib/squib/commands/data/template_option.rb', line 90

def output_file
  @output_file
end

#sheet_alignObject


85
86
87
# File 'lib/squib/commands/data/template_option.rb', line 85

def sheet_align
  @sheet_align
end

#sheet_heightObject


83
84
85
# File 'lib/squib/commands/data/template_option.rb', line 83

def sheet_height
  @sheet_height
end

#sheet_marginObject


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_widthObject


82
83
84
# File 'lib/squib/commands/data/template_option.rb', line 82

def sheet_width
  @sheet_width
end

#unitObject


81
82
83
# File 'lib/squib/commands/data/template_option.rb', line 81

def unit
  @unit
end