Class: PMS::Proxy
- Inherits:
-
Object
- Object
- PMS::Proxy
- Defined in:
- lib/pms/proxy.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#index ⇒ Object
readonly
Returns the value of attribute index.
-
#pms ⇒ Object
readonly
Returns the value of attribute pms.
-
#results ⇒ Object
readonly
Returns the value of attribute results.
Instance Method Summary collapse
-
#initialize(pms) ⇒ Proxy
constructor
A new instance of Proxy.
- #matches ⇒ Object
Constructor Details
#initialize(pms) ⇒ Proxy
Returns a new instance of Proxy.
33 34 35 36 37 |
# File 'lib/pms/proxy.rb', line 33 def initialize(pms) @pms = pms @index = pms.index @results = pms.results end |
Instance Attribute Details
#index ⇒ Object (readonly)
Returns the value of attribute index.
31 32 33 |
# File 'lib/pms/proxy.rb', line 31 def index @index end |
#pms ⇒ Object (readonly)
Returns the value of attribute pms.
31 32 33 |
# File 'lib/pms/proxy.rb', line 31 def pms @pms end |
#results ⇒ Object (readonly)
Returns the value of attribute results.
31 32 33 |
# File 'lib/pms/proxy.rb', line 31 def results @results end |
Instance Method Details
#matches ⇒ Object
39 40 41 |
# File 'lib/pms/proxy.rb', line 39 def matches index.matches(results) end |