Class: Mist::Configuration::Author
- Inherits:
-
Object
- Object
- Mist::Configuration::Author
- Defined in:
- lib/mist/configuration/author.rb
Instance Attribute Summary collapse
-
#email ⇒ Object
Returns the value of attribute email.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize ⇒ Author
constructor
A new instance of Author.
Constructor Details
#initialize ⇒ Author
Returns a new instance of Author.
4 5 6 7 |
# File 'lib/mist/configuration/author.rb', line 4 def initialize @name = "John Doe" @email = "[email protected]" end |
Instance Attribute Details
#email ⇒ Object
Returns the value of attribute email.
2 3 4 |
# File 'lib/mist/configuration/author.rb', line 2 def email @email end |
#name ⇒ Object
Returns the value of attribute name.
2 3 4 |
# File 'lib/mist/configuration/author.rb', line 2 def name @name end |