Class: Shomen::Model::Script

Inherits:
Document show all
Defined in:
lib/shomen/model/script.rb

Instance Attribute Summary collapse

Attributes inherited from Document

#format

Attributes inherited from Abstract

#tags

Class Method Summary collapse

Methods inherited from Abstract

#initialize, #type

Methods inherited from AbstractPrime

#[], #[]=, attr_accessor, #initialize, #to_h

Constructor Details

This class inherits a constructor from Shomen::Model::Abstract

Instance Attribute Details

#class_methodsObject

Returns the value of attribute class_methods.



41
42
43
# File 'lib/shomen/model/script.rb', line 41

def class_methods
  @class_methods
end

#classesObject

Returns the value of attribute classes.



39
40
41
# File 'lib/shomen/model/script.rb', line 39

def classes
  @classes
end

#constantsObject

Returns the value of attribute constants.



35
36
37
# File 'lib/shomen/model/script.rb', line 35

def constants
  @constants
end

Returns the value of attribute footer.



31
32
33
# File 'lib/shomen/model/script.rb', line 31

def footer
  @footer
end

#headerObject

Returns the value of attribute header.



29
30
31
# File 'lib/shomen/model/script.rb', line 29

def header
  @header
end

#languageObject

Returns the value of attribute language.



20
21
22
# File 'lib/shomen/model/script.rb', line 20

def language
  @language
end

#methodsObject

Returns the value of attribute methods.



43
44
45
# File 'lib/shomen/model/script.rb', line 43

def methods
  @methods
end

#modulesObject

Returns the value of attribute modules.



37
38
39
# File 'lib/shomen/model/script.rb', line 37

def modules
  @modules
end

#mtimeObject

Returns the value of attribute mtime.



27
28
29
# File 'lib/shomen/model/script.rb', line 27

def mtime
  @mtime
end

#nameObject

Returns the value of attribute name.



23
24
25
# File 'lib/shomen/model/script.rb', line 23

def name
  @name
end

#pathObject

Returns the value of attribute path.



25
26
27
# File 'lib/shomen/model/script.rb', line 25

def path
  @path
end

#requiresObject

Returns the value of attribute requires.



33
34
35
# File 'lib/shomen/model/script.rb', line 33

def requires
  @requires
end

#sourceObject 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

.typeObject



10
# File 'lib/shomen/model/script.rb', line 10

def self.type; 'script'; end