Class: Httpdoc::Controller
- Inherits:
-
Object
- Object
- Httpdoc::Controller
- Defined in:
- lib/httpdoc/model.rb
Instance Attribute Summary collapse
-
#actions ⇒ Object
Returns the value of attribute actions.
-
#constants ⇒ Object
Returns the value of attribute constants.
-
#description ⇒ Object
Returns the value of attribute description.
-
#title ⇒ Object
Returns the value of attribute title.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize ⇒ Controller
constructor
A new instance of Controller.
Constructor Details
#initialize ⇒ Controller
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
#actions ⇒ Object
Returns the value of attribute actions.
42 43 44 |
# File 'lib/httpdoc/model.rb', line 42 def actions @actions end |
#constants ⇒ Object
Returns the value of attribute constants.
43 44 45 |
# File 'lib/httpdoc/model.rb', line 43 def constants @constants end |
#description ⇒ Object
Returns the value of attribute description.
41 42 43 |
# File 'lib/httpdoc/model.rb', line 41 def description @description end |
#title ⇒ Object
Returns the value of attribute title.
40 41 42 |
# File 'lib/httpdoc/model.rb', line 40 def title @title end |
#url ⇒ Object
Returns the value of attribute url.
44 45 46 |
# File 'lib/httpdoc/model.rb', line 44 def url @url end |