Class: Alice::Adapter::Test::Stub
- Defined in:
- lib/alice/adapter/test.rb
Instance Attribute Summary collapse
-
#block ⇒ Object
Returns the value of attribute block.
-
#path ⇒ Object
Returns the value of attribute path.
Instance Method Summary collapse
Instance Attribute Details
#block ⇒ Object
Returns the value of attribute block
58 59 60 |
# File 'lib/alice/adapter/test.rb', line 58 def block @block end |
#path ⇒ Object
Returns the value of attribute path
58 59 60 |
# File 'lib/alice/adapter/test.rb', line 58 def path @path end |
Instance Method Details
#matches?(request_path) ⇒ Boolean
59 60 61 |
# File 'lib/alice/adapter/test.rb', line 59 def matches?(request_path) request_path == path end |