Class: Prompt::Matcher
- Inherits:
-
Object
- Object
- Prompt::Matcher
- Defined in:
- lib/prompt/matcher.rb
Direct Known Subclasses
Constant Summary collapse
Instance Attribute Summary collapse
-
#parameter ⇒ Object
readonly
Returns the value of attribute parameter.
Instance Method Summary collapse
-
#initialize(param) ⇒ Matcher
constructor
A new instance of Matcher.
Constructor Details
#initialize(param) ⇒ Matcher
Returns a new instance of Matcher.
8 9 10 |
# File 'lib/prompt/matcher.rb', line 8 def initialize param @parameter = param end |
Instance Attribute Details
#parameter ⇒ Object (readonly)
Returns the value of attribute parameter.
6 7 8 |
# File 'lib/prompt/matcher.rb', line 6 def parameter @parameter end |