Class: FaaStRuby::FunctionObject

Inherits:
Object
  • Object
show all
Includes:
RunnerMethods
Defined in:
lib/faastruby/server/function_object.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from RunnerMethods

#puts, #redirect_to, #render, #render_nothing, #render_template, #rendered!, #rendered?, #respond_with

Constructor Details

#initialize(path) ⇒ FunctionObject

Returns a new instance of FunctionObject.



5
6
7
# File 'lib/faastruby/server/function_object.rb', line 5

def initialize(path)
  @path = path
end

Instance Attribute Details

#pathObject (readonly)

Returns the value of attribute path.



4
5
6
# File 'lib/faastruby/server/function_object.rb', line 4

def path
  @path
end