Class: Shomen::Model::Module
- Inherits:
-
Abstract
- Object
- AbstractPrime
- Abstract
- Shomen::Model::Module
- Defined in:
- lib/shomen/model/module.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#accessors ⇒ Object
List of attributes.
-
#classes ⇒ Object
Returns the value of attribute classes.
-
#comment ⇒ Object
Comment associated with module.
-
#constants ⇒ Object
Constants defined within this module.
-
#extensions ⇒ Object
Metaclass mixins.
-
#files ⇒ Object
The files in which the module is defined.
-
#format ⇒ Object
Format of comment (rdoc, markdown or plain).
-
#includes ⇒ Object
Mixins.
-
#methods ⇒ Object
List of instance methods defined in the module.
-
#modules ⇒ Object
Returns the value of attribute modules.
-
#name ⇒ Object
Method’s name.
-
#namespace ⇒ Object
Namespace of module is the path of the class or module containing this module.
Attributes inherited from Abstract
Class Method Summary collapse
Methods inherited from Abstract
Methods inherited from AbstractPrime
#[], #[]=, attr_accessor, #initialize, #to_h
Constructor Details
This class inherits a constructor from Shomen::Model::Abstract
Instance Attribute Details
#accessors ⇒ Object
List of attributes.
45 46 47 |
# File 'lib/shomen/model/module.rb', line 45 def accessors @accessors end |
#classes ⇒ Object
Returns the value of attribute classes.
39 40 41 |
# File 'lib/shomen/model/module.rb', line 39 def classes @classes end |
#comment ⇒ Object
Comment associated with module.
21 22 23 |
# File 'lib/shomen/model/module.rb', line 21 def comment @comment end |
#constants ⇒ Object
Constants defined within this module.
33 34 35 |
# File 'lib/shomen/model/module.rb', line 33 def constants @constants end |
#extensions ⇒ Object
Metaclass mixins.
30 31 32 |
# File 'lib/shomen/model/module.rb', line 30 def extensions @extensions end |
#files ⇒ Object
The files in which the module is defined.
48 49 50 |
# File 'lib/shomen/model/module.rb', line 48 def files @files end |
#format ⇒ Object
Format of comment (rdoc, markdown or plain).
24 25 26 |
# File 'lib/shomen/model/module.rb', line 24 def format @format end |
#includes ⇒ Object
Mixins.
27 28 29 |
# File 'lib/shomen/model/module.rb', line 27 def includes @includes end |
#methods ⇒ Object
List of instance methods defined in the module.
42 43 44 |
# File 'lib/shomen/model/module.rb', line 42 def methods @methods end |
#modules ⇒ Object
Returns the value of attribute modules.
36 37 38 |
# File 'lib/shomen/model/module.rb', line 36 def modules @modules end |
#name ⇒ Object
Method’s name.
14 15 16 |
# File 'lib/shomen/model/module.rb', line 14 def name @name end |
#namespace ⇒ Object
Namespace of module is the path of the class or module containing this module.
18 19 20 |
# File 'lib/shomen/model/module.rb', line 18 def namespace @namespace end |
Class Method Details
.type ⇒ Object
11 |
# File 'lib/shomen/model/module.rb', line 11 def self.type; 'module'; end |