Class: Cheri::Explorer::SearchNameValue
- Inherits:
-
Object
- Object
- Cheri::Explorer::SearchNameValue
- Defined in:
- lib/cheri/explorer/explorer.rb
Overview
SearchArgs
Instance Method Summary collapse
-
#initialize(name, value) ⇒ SearchNameValue
constructor
A new instance of SearchNameValue.
- #name ⇒ Object
- #rx? ⇒ Boolean
- #value ⇒ Object
Constructor Details
#initialize(name, value) ⇒ SearchNameValue
Returns a new instance of SearchNameValue.
268 269 270 271 272 |
# File 'lib/cheri/explorer/explorer.rb', line 268 def initialize(name,value) @n = name @v = value @r = Regexp === value end |
Instance Method Details
#name ⇒ Object
273 274 275 |
# File 'lib/cheri/explorer/explorer.rb', line 273 def name @n end |
#rx? ⇒ Boolean
279 280 281 |
# File 'lib/cheri/explorer/explorer.rb', line 279 def rx? @r end |
#value ⇒ Object
276 277 278 |
# File 'lib/cheri/explorer/explorer.rb', line 276 def value @v end |