Class: Httpdoc::Controller

Inherits:
Object
  • Object
show all
Defined in:
lib/httpdoc/model.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeController

Returns a new instance of Controller.



35
36
37
38
# File 'lib/httpdoc/model.rb', line 35

def initialize
  @actions = []
  @constants = {}
end

Instance Attribute Details

#actionsObject

Returns the value of attribute actions.



42
43
44
# File 'lib/httpdoc/model.rb', line 42

def actions
  @actions
end

#constantsObject

Returns the value of attribute constants.



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

def constants
  @constants
end

#descriptionObject

Returns the value of attribute description.



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

def description
  @description
end

#titleObject

Returns the value of attribute title.



40
41
42
# File 'lib/httpdoc/model.rb', line 40

def title
  @title
end

#urlObject

Returns the value of attribute url.



44
45
46
# File 'lib/httpdoc/model.rb', line 44

def url
  @url
end