Class: LeanWeb::Action

Inherits:
Struct
  • Object
show all
Defined in:
lib/leanweb/route.rb

Overview

Action for Route#action.

Instance Attribute Summary collapse

Instance Attribute Details

#actionObject

Returns the value of attribute action

Returns:

  • (Object)

    the current value of action



14
15
16
# File 'lib/leanweb/route.rb', line 14

def action
  @action
end

#controllerObject

Returns the value of attribute controller

Returns:

  • (Object)

    the current value of controller



14
15
16
# File 'lib/leanweb/route.rb', line 14

def controller
  @controller
end