Module: Zresume::Printable

Included in:
Person
Defined in:
lib/zresume/printable.rb

Instance Method Summary collapse

Instance Method Details

#file_exit?(format = 'yaml') ⇒ Boolean

Returns:

  • (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_htmlObject



18
19
20
# File 'lib/zresume/printable.rb', line 18

def to_html
    #pending
end

#to_jsonObject

pending



21
22
23
# File 'lib/zresume/printable.rb', line 21

def to_json
    #pending
end