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
811 812 813 814 815 816 817 |
# File 'lib/meteor.rb', line 811 def do_action(elm) #内容あり要素の場合 if elm.empty then elm2 = elm.child(elm) execute(elm2) end end |
#execute(elm) ⇒ Object
819 820 |
# File 'lib/meteor.rb', line 819 def execute(elm) end |