Sha256: 53b09fce9d6539421dbbd9ee5e1ebf4b6989190333567564a03bd18d89d621fc

Contents?: true

Size: 424 Bytes

Versions: 4

Compression:

Stored size: 424 Bytes

Contents

require File.dirname(__FILE__) + "/../../node/base"
module FN
  module SWF
    module Node
      def Frame(name, file)
        FN::Node::Base("frame", :name => name, :file => file).extend(Frame)
      end
      
      module Frame 
        include FN::Node::Base
        
        def visit(struct)
          has_no_children
          struct << %[.font #{self[:name]} "#{self[:file]}"]
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fn_document-0.9.6 lib/fn/swf/node/frame.rb
fn_document-0.9.4 lib/fn/swf/node/frame.rb
fn_document-0.9.3 lib/fn/swf/node/frame.rb
fn_document-0.9.2 lib/fn/swf/node/frame.rb