Class: Transpec::Syntax::RSpecConfigure::Expectations

Inherits:
Framework
  • Object
show all
Defined in:
lib/transpec/syntax/rspec_configure/expectations.rb

Constant Summary

Constants included from Util

Util::LITERAL_TYPES, Util::WHITESPACES

Instance Attribute Summary

Attributes inherited from Framework

#rspec_configure

Instance Method Summary collapse

Methods inherited from Framework

#add_record, #block_node, #initialize, #source_rewriter

Methods included from Framework::SyntaxConfig

#syntaxes, #syntaxes=

Methods included from ConfigModification

#block_node

Methods included from ConfigModification::ConfigAddition

#add_config!, #block_node_to_insert_code, #body_indentation, #config_variable_name, #empty_block_body?, #generate_config_lines

Methods included from Util

beginning_of_line_range, block_node_taken_by_method, chainable_source, const_name, contain_here_document?, each_backward_chained_node, each_forward_chained_node, each_line_range, expand_range_to_adjacent_whitespaces, find_consecutive_whitespace_position, first_block_arg_name, here_document?, in_explicit_parentheses?, indentation_of_line, line_range, literal?, proc_literal?, range_from_arg

Constructor Details

This class inherits a constructor from Transpec::Syntax::RSpecConfigure::Framework

Instance Method Details

#block_method_nameObject



9
10
11
# File 'lib/transpec/syntax/rspec_configure/expectations.rb', line 9

def block_method_name
  :expect_with
end