Class: Devist::Project
- Inherits:
-
Object
- Object
- Devist::Project
- Defined in:
- lib/devist/models/project.rb
Overview
project.rb This file is a part of the devist package. Halis Duraki <[email protected]>
Create a project instance model. This allows us to reuse project name, author and homepage whenever we want. The object is not necessary to be created.
Instance Attribute Summary collapse
-
#author ⇒ Object
Returns the value of attribute author.
-
#homepage ⇒ Object
Returns the value of attribute homepage.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Attribute Details
#author ⇒ Object
Returns the value of attribute author.
10 11 12 |
# File 'lib/devist/models/project.rb', line 10 def @author end |
#homepage ⇒ Object
Returns the value of attribute homepage.
10 11 12 |
# File 'lib/devist/models/project.rb', line 10 def homepage @homepage end |
#name ⇒ Object
Returns the value of attribute name.
10 11 12 |
# File 'lib/devist/models/project.rb', line 10 def name @name end |