Class: Hint
- Inherits:
-
Object
- Object
- Hint
- Defined in:
- lib/completion-progress/hint.rb
Instance Attribute Summary collapse
-
#href ⇒ Object
Returns the value of attribute href.
-
#options ⇒ Object
Returns the value of attribute options.
-
#step ⇒ Object
Returns the value of attribute step.
-
#text ⇒ Object
Returns the value of attribute text.
Instance Method Summary collapse
-
#initialize(step, text, href = '', options = {}) ⇒ Hint
constructor
A new instance of Hint.
Constructor Details
#initialize(step, text, href = '', options = {}) ⇒ Hint
Returns a new instance of Hint.
4 5 6 7 8 9 |
# File 'lib/completion-progress/hint.rb', line 4 def initialize(step, text, href = '', = {}) @step = step @text = text @href = href @options = end |
Instance Attribute Details
#href ⇒ Object
Returns the value of attribute href.
2 3 4 |
# File 'lib/completion-progress/hint.rb', line 2 def href @href end |
#options ⇒ Object
Returns the value of attribute options.
2 3 4 |
# File 'lib/completion-progress/hint.rb', line 2 def @options end |
#step ⇒ Object
Returns the value of attribute step.
2 3 4 |
# File 'lib/completion-progress/hint.rb', line 2 def step @step end |
#text ⇒ Object
Returns the value of attribute text.
2 3 4 |
# File 'lib/completion-progress/hint.rb', line 2 def text @text end |