Class: Pumog::ModuleInformation

Inherits:
Object
  • Object
show all
Defined in:
lib/pumog/module_information.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = '', author = '', email = '') ⇒ ModuleInformation

Returns a new instance of ModuleInformation.



5
6
7
8
9
# File 'lib/pumog/module_information.rb', line 5

def initialize(name= '', author = '', email= '')
  @name = name
  @author = author
  @email = email
end

Instance Attribute Details

#authorObject

Returns the value of attribute author.



3
4
5
# File 'lib/pumog/module_information.rb', line 3

def author
  @author
end

#emailObject

Returns the value of attribute email.



3
4
5
# File 'lib/pumog/module_information.rb', line 3

def email
  @email
end

#nameObject

Returns the value of attribute name.



3
4
5
# File 'lib/pumog/module_information.rb', line 3

def name
  @name
end