Module: Delayer::Priority

### Home Classes Methods

### In Files

- lib/delayer/priority.rb

### Namespace

- MODULE Delayer::Priority::Extend

### Methods

- ::included
- ::new

### Included Modules

- Delayer

### Class/Module Index

Quicksearch

- Delayer
- Delayer::AlreadyCanceledError
- Delayer::AlreadyExecutedError
- Delayer::AlreadyRunningError
- Delayer::Error
- Delayer::Extend
- Delayer::InvalidPriorityError
- Delayer::Priority
- Delayer::Priority::Extend
- Delayer::Procedure
- Delayer::TooLate

No matching classes.

# Delayer::Priority

### Attributes

priority[R]

### Public Class Methods

included(klass) click to toggle source

    # File lib/delayer/priority.rb, line 6
    def self.included(klass)
      klass.class_eval do
        include ::Delayer
        extend Extend
      end
    end

new(priority = self.class.instance_eval{ @default_priority }, *args) click to toggle source

    # File lib/delayer/priority.rb, line 13
    def initialize(priority = self.class.instance_eval{ @default_priority }, *args)
      self.class.validate_priority priority
      @priority = priority
      super(*args)
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.