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.



162
163
164
# File 'lib/tipsy/runners/compiler.rb', line 162

def initialize(p)
  @path_info, @path = p, p
end

Instance Attribute Details

#pathObject (readonly)

Returns the value of attribute path.



161
162
163
# File 'lib/tipsy/runners/compiler.rb', line 161

def path
  @path
end

#path_infoObject (readonly)

Returns the value of attribute path_info.



161
162
163
# File 'lib/tipsy/runners/compiler.rb', line 161

def path_info
  @path_info
end