Class: Tipsy::Runners::Compiler::MockRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/tipsy/runners/compiler.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#pathObject (readonly)

Returns the value of attribute path.



173
174
175
# File 'lib/tipsy/runners/compiler.rb', line 173

def path
  @path
end

#path_infoObject (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