Sha256: f0543380690b5197736a554c92a5f4920dc919128043877d88e2cbba0cd516c1

Contents?: true

Size: 800 Bytes

Versions: 1

Compression:

Stored size: 800 Bytes

Contents

# coding: utf-8

module ThinReports
  module Core::Shape
    
    class List::Events < Core::Events
      def initialize
        super(:page_footer_insert,
              :footer_insert)
      end
      
      class SectionEvent < Event
        # @return [ThinReports::Core::Shape::List::Store]
        attr_reader :store
        
        # @param type (see ThinReports::Core::Events::Event#initialize)
        # @param target (see ThinReports::Core::Events::Event#initialize)
        # @param [ThinReports::Core::Shape::List::Store] store
        def initialize(type, target, store)
          super(type, target)
          @store = store
        end
        
        # @return [ThinReports::Core::Shape::List::SectionInterface]
        alias_method :section, :target
      end
    end
    
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
thinreports-0.6.0.pre3 lib/thinreports/core/shape/list/events.rb