module Prawn::Configurable
Public Instance Methods
configuration(*args)
click to toggle source
# File lib/prawn.rb, line 49 def configuration(*args) @config ||= Marshal.load(Marshal.dump(default_configuration)) if Hash === args[0] @config.update(args[0]) elsif args.length > 1 @config.values_at(*args) elsif args.length == 1 @config[args[0]] else @config end end
Also aliased as: C