Class: Tipsy::Runners::Compiler::MockRequest
- Inherits:
-
Object
- Object
- Tipsy::Runners::Compiler::MockRequest
- Defined in:
- lib/tipsy/runners/compiler.rb
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Returns the value of attribute path.
-
#path_info ⇒ Object
readonly
Returns the value of attribute path_info.
Instance Method Summary collapse
-
#initialize(p) ⇒ MockRequest
constructor
A new instance of MockRequest.
Constructor Details
#initialize(p) ⇒ MockRequest
Returns a new instance of MockRequest.
174 175 176 |
# File 'lib/tipsy/runners/compiler.rb', line 174 def initialize(p) @path_info, @path = p, p end |
Instance Attribute Details
#path ⇒ Object (readonly)
Returns the value of attribute path.
173 174 175 |
# File 'lib/tipsy/runners/compiler.rb', line 173 def path @path end |
#path_info ⇒ Object (readonly)
Returns the value of attribute path_info.
173 174 175 |
# File 'lib/tipsy/runners/compiler.rb', line 173 def path_info @path_info end |