Class: Devist::Project

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#authorObject

Returns the value of attribute author.



10
11
12
# File 'lib/devist/models/project.rb', line 10

def author
  @author
end

#homepageObject

Returns the value of attribute homepage.



10
11
12
# File 'lib/devist/models/project.rb', line 10

def homepage
  @homepage
end

#nameObject

Returns the value of attribute name.



10
11
12
# File 'lib/devist/models/project.rb', line 10

def name
  @name
end