Class: Octopress::Printable::Converter
- Inherits:
-
Object
- Object
- Octopress::Printable::Converter
show all
- Defined in:
- lib/octopress-printable/converter.rb
Instance Attribute Summary collapse
Class Method Summary
collapse
Instance Method Summary
collapse
Constructor Details
Returns a new instance of Converter.
7
8
9
|
# File 'lib/octopress-printable/converter.rb', line 7
def initialize()
@match = false
end
|
Instance Attribute Details
#match ⇒ Object
Returns the value of attribute match.
5
6
7
|
# File 'lib/octopress-printable/converter.rb', line 5
def match
@match
end
|
Class Method Details
.get_includes(post, source_dir) ⇒ Object
39
40
41
|
# File 'lib/octopress-printable/converter.rb', line 39
def self.get_includes(post, source_dir)
[]
end
|
.timestamp(post, source_dir) ⇒ Object
return the newest timestamp for included files
44
45
46
47
48
49
50
51
52
53
|
# File 'lib/octopress-printable/converter.rb', line 44
def self.timestamp(post, source_dir)
includes = get_includes(post, source_dir)
ts = Time.new(0)
includes.each { |f|
if File.exists?(f) && File.stat(f).mtime > ts
ts = File.stat(f).mtime
end
}
ts
end
|
Instance Method Details
#before_xelatex(step, texfile) ⇒ Object
31
32
33
|
# File 'lib/octopress-printable/converter.rb', line 31
def before_xelatex(step, texfile)
[]
end
|
#convert(line) ⇒ Object
11
12
13
|
# File 'lib/octopress-printable/converter.rb', line 11
def convert(line)
line
end
|
#envs ⇒ Object
19
20
21
|
# File 'lib/octopress-printable/converter.rb', line 19
def envs()
[]
end
|
15
16
17
|
# File 'lib/octopress-printable/converter.rb', line 15
def ()
[]
end
|
#last_xelatex(texfile) ⇒ Object
35
36
37
|
# File 'lib/octopress-printable/converter.rb', line 35
def last_xelatex(texfile)
[]
end
|
#pandoc_args ⇒ Object
23
24
25
|
# File 'lib/octopress-printable/converter.rb', line 23
def pandoc_args
[]
end
|
#xelatex_args(step) ⇒ Object
27
28
29
|
# File 'lib/octopress-printable/converter.rb', line 27
def xelatex_args(step)
[]
end
|