Class: DanielTest
- Inherits:
-
Object
- Object
- DanielTest
- Defined in:
- lib/daniel_test.rb
Instance Attribute Summary collapse
-
#print_authors ⇒ Object
Returns the value of attribute print_authors.
Class Method Summary collapse
Instance Attribute Details
#print_authors ⇒ Object
Returns the value of attribute print_authors.
3 4 5 |
# File 'lib/daniel_test.rb', line 3 def @print_authors end |
Class Method Details
.authors_for_print ⇒ Object
5 6 7 8 |
# File 'lib/daniel_test.rb', line 5 def self. @authors = ['Daniel'] @authors.join(', ') end |