File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 30
30
31
31
- ` Ferrum::Page::Screenshot::DEFAULT_PDF_OPTIONS ` - pdf settings constant
32
32
33
- - ` Ferrum::Page::Screenshot::PAPEP_FORMATS ` - available formats constant
33
+ - ` Ferrum::Page::Screenshot::PAPER_FORMATS ` - available formats constant
34
34
35
35
- ` Ferrum::Page::Frames ` module implementation:
36
36
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ module Screenshot
12
12
scale : 1.0
13
13
} . freeze
14
14
15
- PAPEP_FORMATS = {
15
+ PAPER_FORMATS = {
16
16
letter : { width : 8.50 , height : 11.00 } ,
17
17
legal : { width : 8.50 , height : 14.00 } ,
18
18
tabloid : { width : 11.00 , height : 17.00 } ,
@@ -114,7 +114,7 @@ def pdf_options(**opts)
114
114
raise ArgumentError , "Specify :format or :paper_width, :paper_height"
115
115
end
116
116
117
- dimension = PAPEP_FORMATS . fetch ( format )
117
+ dimension = PAPER_FORMATS . fetch ( format )
118
118
options . merge! ( paper_width : dimension [ :width ] ,
119
119
paper_height : dimension [ :height ] )
120
120
end
You can’t perform that action at this time.
0 commit comments