Class Index [+]

Quicksearch

RR::DoubleDefinitions::ChildDoubleDefinitionCreate

Attributes

parent_double_definition[R]

Public Class Methods

new(parent_double_definition) click to toggle source
   # File lib/rr/double_definitions/child_double_definition_create.rb, line 5
5:       def initialize(parent_double_definition)
6:         @parent_double_definition = parent_double_definition
7:         super()
8:       end

Public Instance Methods

instance_of(*args) click to toggle source
    # File lib/rr/double_definitions/child_double_definition_create.rb, line 14
14:       def instance_of(*args)
15:         raise NoMethodError
16:       end
root_subject() click to toggle source
    # File lib/rr/double_definitions/child_double_definition_create.rb, line 10
10:       def root_subject
11:         parent_double_definition.root_subject
12:       end

Protected Instance Methods

add_strategy(subject, method_name, definition_eval_block, &block) click to toggle source
    # File lib/rr/double_definitions/child_double_definition_create.rb, line 19
19:       def add_strategy(subject, method_name, definition_eval_block, &block)
20:         super do
21:           block.call
22:           parent_double_definition.implemented_by(lambda {|*args|subject})
23:         end
24:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.