Class: Transpec::Syntax::Mixin::AnyInstanceBlock::MonkeyPatchRecordBuilder

Inherits:
RecordBuilder show all
Defined in:
lib/transpec/syntax/mixin/any_instance_block.rb

Instance Attribute Summary

Attributes inherited from RecordBuilder

#host

Instance Method Summary collapse

Methods inherited from RecordBuilder

#initialize, #new_syntax, #old_syntax

Methods inherited from RecordBuilder

build, #build

Constructor Details

This class inherits a constructor from Transpec::Syntax::Mixin::AnyInstanceBlock::RecordBuilder

Instance Method Details

#base_syntax ⇒ Object



60
61
62
# File 'lib/transpec/syntax/mixin/any_instance_block.rb', line 60

def base_syntax
  "Klass.any_instance.#{host.method_name}(:message)"
end