Class: Transpec::Syntax::Mixin::AnyInstanceBlock::MonkeyPatchAnyInstanceBlockRecord

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

Constant Summary

Constants inherited from Record

Record::OVERRIDDE_FORBIDDEN_METHODS

Instance Attribute Summary

Attributes inherited from Record

#annotation, #converted_syntax_type, #original_syntax_type

Instance Method Summary collapse

Methods inherited from AnyInstanceBlockRecord

#build_converted_syntax, #build_original_syntax, #initialize

Methods inherited from Record

#==, #converted_syntax, #hash, #initialize, #original_syntax, #to_s

Constructor Details

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

Instance Method Details

#base_syntaxObject



50
51
52
# File 'lib/transpec/syntax/mixin/any_instance_block.rb', line 50

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