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, #source_rewriter

Instance Method Summary collapse

Methods inherited from Framework

#initialize

Methods included from Framework::SyntaxConfiguration

#syntaxes, #syntaxes=

Methods included from Framework::ConfigurationAddition

#add_configuration!, #block_node_to_insert_code, #body_indentation, #config_variable_name, #empty_block_body?, #framework_begin_code, #framework_end_code, #new_config_variable_name, #rspec_configure_body_indentation

Methods included from Util

beginning_of_line_range, block_node_taken_by_method, const_name, contain_here_document?, each_backward_chained_node, each_forward_chained_node, each_line_range, end_of_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?, node_id, 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