Sha256: 78097f03b7033800f580b8da150ef7362d7aa12bebb900c7b0d07cb8bc6d3e9d

Contents?: true

Size: 444 Bytes

Versions: 11

Compression:

Stored size: 444 Bytes

Contents

module MasterView
  module Directives

    # just eat this output since it is only used for design time
    class Import < MasterView::DirectiveBase
      def priority
        DirectivePriorities::VeryHigh
      end

      def stag(dcs)
        #output nothing
      end
      
      def etag(dcs)
        tag = dcs.context[:tag]
        tag.content = [] # clear out any content including from children
        nil
      end

    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
masterview-0.1.0 lib/masterview/directives/import.rb
masterview-0.1.5 lib/masterview/directives/import.rb
masterview-0.1.2 lib/masterview/directives/import.rb
masterview-0.1.3 lib/masterview/directives/import.rb
masterview-0.2.0 lib/masterview/directives/import.rb
masterview-0.2.1 lib/masterview/directives/import.rb
masterview-0.1.1 lib/masterview/directives/import.rb
masterview-0.2.3 lib/masterview/directives/import.rb
masterview-0.2.4 lib/masterview/directives/import.rb
masterview-0.2.5 lib/masterview/directives/import.rb
masterview-0.2.2 lib/masterview/directives/import.rb