Module: OBF::OBF
- Defined in:
- lib/obf/obf.rb
Constant Summary collapse
- FORMAT =
"open-board-0.1"
- FORMAT_CURRENT_VERSION =
0.1
Class Method Summary collapse
- .from_external(board, dest_path) ⇒ Object
- .to_external(obf, opts) ⇒ Object
- .to_pdf(obf, dest_path, opts = {}) ⇒ Object
- .to_png(obf, dest_path) ⇒ Object
Class Method Details
.from_external(board, dest_path) ⇒ Object
8 9 10 |
# File 'lib/obf/obf.rb', line 8 def self.from_external(board, dest_path) OBF::External.to_obf(board, dest_path) end |
.to_external(obf, opts) ⇒ Object
4 5 6 |
# File 'lib/obf/obf.rb', line 4 def self.to_external(obf, opts) OBF::External.from_obf(obf, opts) end |
.to_pdf(obf, dest_path, opts = {}) ⇒ Object
12 13 14 |
# File 'lib/obf/obf.rb', line 12 def self.to_pdf(obf, dest_path, opts={}) OBF::PDF.from_obf(obf, dest_path, nil, opts) end |
.to_png(obf, dest_path) ⇒ Object
16 17 18 |
# File 'lib/obf/obf.rb', line 16 def self.to_png(obf, dest_path) OBF::PNG.from_obf(obf, dest_path) end |