Class: Swee::FilterStruct

Inherits:
Object show all
Defined in:
lib/swee/controller.rb

Overview

过滤器

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(_t, _m, _a) ⇒ FilterStruct

Returns a new instance of FilterStruct.



8
9
10
# File 'lib/swee/controller.rb', line 8

def initialize _t, _m, _a
  @type,@method,@actions = _t,_m,_a
end

Instance Attribute Details

#actionsObject

Returns the value of attribute actions.



7
8
9
# File 'lib/swee/controller.rb', line 7

def actions
  @actions
end

#methodObject

Returns the value of attribute method.



7
8
9
# File 'lib/swee/controller.rb', line 7

def method
  @method
end

#typeObject

Returns the value of attribute type.



7
8
9
# File 'lib/swee/controller.rb', line 7

def type
  @type
end