Class: PrRuby::Letter
- Inherits:
-
Object
- Object
- PrRuby::Letter
- Defined in:
- lib/pr_ruby/letter.rb
Constant Summary collapse
- @@all =
[]
Instance Attribute Summary collapse
-
#content ⇒ Object
Returns the value of attribute content.
-
#summary ⇒ Object
Returns the value of attribute summary.
-
#title ⇒ Object
Returns the value of attribute title.
-
#url ⇒ Object
Returns the value of attribute url.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#content ⇒ Object
Returns the value of attribute content.
2 3 4 |
# File 'lib/pr_ruby/letter.rb', line 2 def content @content end |
#summary ⇒ Object
Returns the value of attribute summary.
2 3 4 |
# File 'lib/pr_ruby/letter.rb', line 2 def summary @summary end |
#title ⇒ Object
Returns the value of attribute title.
2 3 4 |
# File 'lib/pr_ruby/letter.rb', line 2 def title @title end |
#url ⇒ Object
Returns the value of attribute url.
2 3 4 |
# File 'lib/pr_ruby/letter.rb', line 2 def url @url end |
Class Method Details
.all ⇒ Object
6 7 8 |
# File 'lib/pr_ruby/letter.rb', line 6 def self.all @@all end |
Instance Method Details
#save ⇒ Object
14 15 16 |
# File 'lib/pr_ruby/letter.rb', line 14 def save @@all << self end |