Class: Shomen::Model::Script
- Inherits:
-
Document
- Object
- AbstractPrime
- Abstract
- Document
- Shomen::Model::Script
- Defined in:
- lib/shomen/model/script.rb
Instance Attribute Summary collapse
-
#class_methods ⇒ Object
Returns the value of attribute class_methods.
-
#classes ⇒ Object
Returns the value of attribute classes.
-
#constants ⇒ Object
Returns the value of attribute constants.
-
#footer ⇒ Object
Returns the value of attribute footer.
-
#header ⇒ Object
Returns the value of attribute header.
-
#language ⇒ Object
Returns the value of attribute language.
-
#methods ⇒ Object
Returns the value of attribute methods.
-
#modules ⇒ Object
Returns the value of attribute modules.
-
#mtime ⇒ Object
Returns the value of attribute mtime.
-
#name ⇒ Object
Returns the value of attribute name.
-
#path ⇒ Object
Returns the value of attribute path.
-
#requires ⇒ Object
Returns the value of attribute requires.
-
#source ⇒ Object
(also: #text)
Returns the value of attribute source.
Attributes inherited from Document
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
#class_methods ⇒ Object
Returns the value of attribute class_methods.
41 42 43 |
# File 'lib/shomen/model/script.rb', line 41 def class_methods @class_methods end |
#classes ⇒ Object
Returns the value of attribute classes.
39 40 41 |
# File 'lib/shomen/model/script.rb', line 39 def classes @classes end |
#constants ⇒ Object
Returns the value of attribute constants.
35 36 37 |
# File 'lib/shomen/model/script.rb', line 35 def constants @constants end |
#footer ⇒ Object
Returns the value of attribute footer.
31 32 33 |
# File 'lib/shomen/model/script.rb', line 31 def @footer end |
#header ⇒ Object
Returns the value of attribute header.
29 30 31 |
# File 'lib/shomen/model/script.rb', line 29 def header @header end |
#language ⇒ Object
Returns the value of attribute language.
20 21 22 |
# File 'lib/shomen/model/script.rb', line 20 def language @language end |
#methods ⇒ Object
Returns the value of attribute methods.
43 44 45 |
# File 'lib/shomen/model/script.rb', line 43 def methods @methods end |
#modules ⇒ Object
Returns the value of attribute modules.
37 38 39 |
# File 'lib/shomen/model/script.rb', line 37 def modules @modules end |
#mtime ⇒ Object
Returns the value of attribute mtime.
27 28 29 |
# File 'lib/shomen/model/script.rb', line 27 def mtime @mtime end |
#name ⇒ Object
Returns the value of attribute name.
23 24 25 |
# File 'lib/shomen/model/script.rb', line 23 def name @name end |
#path ⇒ Object
Returns the value of attribute path.
25 26 27 |
# File 'lib/shomen/model/script.rb', line 25 def path @path end |
#requires ⇒ Object
Returns the value of attribute requires.
33 34 35 |
# File 'lib/shomen/model/script.rb', line 33 def requires @requires end |
#source ⇒ Object Also known as: text
Returns the value of attribute source.
13 14 15 |
# File 'lib/shomen/model/script.rb', line 13 def source @source end |
Class Method Details
.type ⇒ Object
10 |
# File 'lib/shomen/model/script.rb', line 10 def self.type; 'script'; end |