Class: Meteor::Hook::Hooker
- Inherits:
-
Object
- Object
- Meteor::Hook::Hooker
- Defined in:
- lib/meteor.rb
Overview
フッククラス
Instance Method Summary collapse
- #do_action(elm) ⇒ Object
- #execute(elm) ⇒ Object
-
#initialize ⇒ Hooker
constructor
イニシャライザ.
Constructor Details
Instance Method Details
#do_action(elm) ⇒ Object
867 868 869 870 871 872 873 |
# File 'lib/meteor.rb', line 867 def do_action(elm) #内容あり要素の場合 if elm.empty then elm2 = elm.child(elm) execute(elm2) end end |
#execute(elm) ⇒ Object
875 876 |
# File 'lib/meteor.rb', line 875 def execute(elm) end |