Module: Palapala

Defined in:
lib/palapala.rb,
lib/palapala/pdf.rb,
lib/palapala/version.rb

Overview

Main module for the gem

Defined Under Namespace

Classes: Pdf

Constant Summary collapse

VERSION =
'0.1.1'

Class Method Summary collapse

Class Method Details

.defaultsObject



23
24
25
# File 'lib/palapala.rb', line 23

def self.defaults
  @defaults ||= {}
end

.defaults=(defaults) ⇒ Object



19
20
21
# File 'lib/palapala.rb', line 19

def self.defaults=(defaults)
  @defaults = defaults
end

.ferrum_optsObject



15
16
17
# File 'lib/palapala.rb', line 15

def self.ferrum_opts
  @ferrum_opts
end

.ferrum_opts=(ferrum_opts) ⇒ Object



11
12
13
# File 'lib/palapala.rb', line 11

def self.ferrum_opts=(ferrum_opts)
  @ferrum_opts = ferrum_opts
end

.setup {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (Palapala)

    the object that the method was called on



7
8
9
# File 'lib/palapala.rb', line 7

def self.setup
  yield self
end