Class: Meteor::Hook::Hooker

Inherits:
Object
  • Object
show all
Defined in:
lib/meteor.rb

Overview

Hook Class (フッククラス)

Instance Method Summary (collapse)

Constructor Details

- (Hooker) initialize

initializer (イニシャライザ)



994
995
# File 'lib/meteor.rb', line 994

def initialize
end

Instance Method Details

- (Object) do_action(elm)



997
998
999
1000
1001
1002
1003
# File 'lib/meteor.rb', line 997

def do_action(elm)
  #内容あり要素の場合
  if elm.empty then
    elm2 = elm.child()
    execute(elm2)
  end
end