Class: Hint

Inherits:
Object
  • Object
show all
Defined in:
lib/completion-progress/hint.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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 = '', options = {})
  @step = step
  @text = text
  @href = href
  @options = options
end

Instance Attribute Details

#hrefObject

Returns the value of attribute href.



2
3
4
# File 'lib/completion-progress/hint.rb', line 2

def href
  @href
end

#optionsObject

Returns the value of attribute options.



2
3
4
# File 'lib/completion-progress/hint.rb', line 2

def options
  @options
end

#stepObject

Returns the value of attribute step.



2
3
4
# File 'lib/completion-progress/hint.rb', line 2

def step
  @step
end

#textObject

Returns the value of attribute text.



2
3
4
# File 'lib/completion-progress/hint.rb', line 2

def text
  @text
end