Class: Reaction::Doc
- Inherits:
-
Object
- Object
- Reaction::Doc
- Defined in:
- lib/reaction/doc.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(name, message, options = {}) ⇒ Doc
constructor
A new instance of Doc.
Constructor Details
#initialize(name, message, options = {}) ⇒ Doc
Returns a new instance of Doc.
10 11 12 13 14 |
# File 'lib/reaction/doc.rb', line 10 def initialize(name, , = {}) @name = name.to_sym = = end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
8 9 10 |
# File 'lib/reaction/doc.rb', line 8 def end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
8 9 10 |
# File 'lib/reaction/doc.rb', line 8 def name @name end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
8 9 10 |
# File 'lib/reaction/doc.rb', line 8 def end |