Module: Zresume::Person
- Includes:
- Printable
- Defined in:
- lib/zresume/person.rb
Defined Under Namespace
Modules: Core
Class Method Summary collapse
Instance Method Summary collapse
Methods included from Printable
#file_exit?, #to_file, #to_html, #to_json
Class Method Details
.included(base) ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/zresume/person.rb', line 6 def self.included(base) base.extend(Core) base.class_eval do info :name name self.to_s.downcase end end |
Instance Method Details
#to_hash ⇒ Object
52 53 54 |
# File 'lib/zresume/person.rb', line 52 def to_hash self.class.info end |