Module: FactoryTrace::MonkeyPatches::Trait

Defined in:
lib/factory_trace/monkey_patches/trait.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#definition_pathObject (readonly)

Returns the value of attribute definition_path.



6
7
8
# File 'lib/factory_trace/monkey_patches/trait.rb', line 6

def definition_path
  @definition_path
end

Instance Method Details

#initialize(name, definition_path = "", &block) ⇒ Object



8
9
10
11
# File 'lib/factory_trace/monkey_patches/trait.rb', line 8

def initialize(name, definition_path = "", &block)
  @definition_path = definition_path
  super(name, &block)
end