Class Symbol
In: lib/sym_tbl_gsub.rb
Parent: Object

Methods

Public Instance methods

[Source]

# File lib/sym_tbl_gsub.rb, line 177
  def symtbl_gsub ( symtbl )
    res = to_s.symtbl_gsub(symtbl)
    return res.to_sym unless res.nil?
  end

[Source]

# File lib/sym_tbl_gsub.rb, line 182
  def symtbl_gsub! ( symtbl )
    raise TypeError, 'can\'t modify a symbol'
  end

[Source]

# File lib/sym_tbl_gsub.rb, line 223
  def symtbl_to_s
    to_s
  end

[Validate]