Class: Naught::NullClassBuilder::Commands::PredicatesReturn

### Home Classes Methods

### In Files

- lib/naught/null_class_builder/commands/predicates_return.rb

### Parent

Naught::NullClassBuilder::Command

### Methods

- ::new
- #call

### Class/Module Index

Quicksearch

- Naught
- Naught::Conversions
- Naught::NullClassBuilder
- Naught::NullClassBuilder::Command
- Naught::NullClassBuilder::Commands
- Naught::NullClassBuilder::Commands::DefineExplicitConversions
- Naught::NullClassBuilder::Commands::DefineImplicitConversions
- Naught::NullClassBuilder::Commands::Impersonate
- Naught::NullClassBuilder::Commands::Mimic
- Naught::NullClassBuilder::Commands::Pebble
- Naught::NullClassBuilder::Commands::PredicatesReturn
- Naught::NullClassBuilder::Commands::Singleton
- Naught::NullClassBuilder::Commands::Traceable
- Naught::NullObjectTag

No matching classes.

# Naught::NullClassBuilder::Commands::PredicatesReturn

### Public Class Methods

new(builder, return_value) click to toggle source

    # File lib/naught/null_class_builder/commands/predicates_return.rb, line 5
    def initialize(builder, return_value)
      super(builder)
      @predicate_return_value = return_value
    end

### Public Instance Methods

call() click to toggle source

    # File lib/naught/null_class_builder/commands/predicates_return.rb, line 10
    def call
      defer do |subject|
        define_method_missing(subject)
        define_predicate_methods(subject)
      end
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.