Class: Swee::FilterStruct
Overview
过滤器
Instance Attribute Summary collapse
-
#actions ⇒ Object
Returns the value of attribute actions.
-
#method ⇒ Object
Returns the value of attribute method.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(_t, _m, _a) ⇒ FilterStruct
constructor
A new instance of FilterStruct.
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
#actions ⇒ Object
Returns the value of attribute actions.
7 8 9 |
# File 'lib/swee/controller.rb', line 7 def actions @actions end |
#method ⇒ Object
Returns the value of attribute method.
7 8 9 |
# File 'lib/swee/controller.rb', line 7 def method @method end |
#type ⇒ Object
Returns the value of attribute type.
7 8 9 |
# File 'lib/swee/controller.rb', line 7 def type @type end |