Module: RBeautifyMatchers

Defined in:
lib/ruby-beautify/spec/spec_helper.rb

Defined Under Namespace

Classes: BeBlockEndLike, BeBlockStartLike

Instance Method Summary collapse

Instance Method Details

#be_block_end_like(block_start, offset, match, after_match) ⇒ Object



92
93
94
# File 'lib/ruby-beautify/spec/spec_helper.rb', line 92

def be_block_end_like(block_start, offset, match, after_match)
  BeBlockEndLike.new(block_start, offset, match, after_match)
end

#be_block_start_like(block_matcher, offset, match, after_match) ⇒ Object



88
89
90
# File 'lib/ruby-beautify/spec/spec_helper.rb', line 88

def be_block_start_like(block_matcher, offset, match, after_match)
  BeBlockStartLike.new(block_matcher, offset, match, after_match)
end