Module: SymTblGsub::Assertions

Defined in:
lib/sym_tbl_gsub.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#symtblObject

Returns the value of attribute symtbl.



10
11
12
# File 'lib/sym_tbl_gsub.rb', line 10

def symtbl
  @symtbl
end

Instance Method Details

#assert_symtbl(my, ref) ⇒ Object



12
13
14
# File 'lib/sym_tbl_gsub.rb', line 12

def assert_symtbl ( my, ref )
  assert_equal ref, my.do_symtbl_gsub(symtbl)
end

#assert_symtbl_nil(my) ⇒ Object



16
17
18
# File 'lib/sym_tbl_gsub.rb', line 16

def assert_symtbl_nil ( my )
  assert_nil my.symtbl_gsub(symtbl)
end