module DragonflyPdf
Constants
- SUPPORTED_FORMATS
- SUPPORTED_OUTPUT_FORMATS
- VERSION
Private Class Methods
stringify_keys(hash = {})
click to toggle source
# File lib/dragonfly_pdf.rb, line 15 def self.stringify_keys(hash = {}) hash.each_with_object({}) { |(k, v), memo| memo[k.to_s] = v } end
symbolize_keys(hash = {})
click to toggle source
# File lib/dragonfly_pdf.rb, line 19 def self.symbolize_keys(hash = {}) hash.each_with_object({}) { |(k, v), memo| memo[k.to_sym] = v } end