Class: Meteor::Hook::Looper
- Inherits:
-
Object
- Object
- Meteor::Hook::Looper
- Defined in:
- lib/meteor.rb
Overview
Lopp Hook Class (ループフッククラス)
Instance Method Summary (collapse)
- - (Object) do_action(elm, list)
-
- (Looper) initialize
constructor
initializer (イニシャライザ).
Constructor Details
- (Looper) initialize
initializer (イニシャライザ)
1018 1019 |
# File 'lib/meteor.rb', line 1018 def initialize end |
Instance Method Details
- (Object) do_action(elm, list)
1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 |
# File 'lib/meteor.rb', line 1021 def do_action(elm, list) #内容あり要素の場合 if elm.empty then elm2 = elm.child() init(elm2) list.each do |item| if !elm2.mono then elm2.parser.root_element.document = elm.mixed_content end execute(elm2, item) elm2.flush end end end |