Class: Naught::NullClassBuilder::Commands::Impersonate

### Home Classes Methods

### In Files

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

### Parent

Naught::NullClassBuilder::Commands::Mimic

### Methods

- ::new

### 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::Impersonate

### Public Class Methods

new(builder, class_to_impersonate, options = {}) click to toggle source

    # File lib/naught/null_class_builder/commands/impersonate.rb, line 3
    def initialize(builder, class_to_impersonate, options = {})
      super
      builder.base_class = class_to_impersonate
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.