Module: Zresume::Printable
- Included in:
- Person
- Defined in:
- lib/zresume/printable.rb
Instance Method Summary collapse
- #file_exit?(format = 'yaml') ⇒ Boolean
- #to_file(format = 'yaml') ⇒ Object
- #to_html ⇒ Object
-
#to_json ⇒ Object
pending.
Instance Method Details
#file_exit?(format = 'yaml') ⇒ Boolean
14 15 16 |
# File 'lib/zresume/printable.rb', line 14 def file_exit?(format = 'yaml') #pending end |
#to_file(format = 'yaml') ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/zresume/printable.rb', line 6 def to_file(format = 'yaml') file_name = "#{name}.#{format}" File.open(file_name, 'w') do |out| out.puts self.to_yaml end #pending end |
#to_html ⇒ Object
18 19 20 |
# File 'lib/zresume/printable.rb', line 18 def to_html #pending end |
#to_json ⇒ Object
pending
21 22 23 |
# File 'lib/zresume/printable.rb', line 21 def to_json #pending end |