class Symbol
Public Instance Methods
_nydp_inspect()
click to toggle source
# File lib/nydp/core_ext.rb, line 59 def _nydp_inspect _ins = to_s _nydp_untidy?(_ins) ? "|#{_ins.gsub(/\|/, '\|')}|" : _ins end
inspect()
click to toggle source
# File lib/nydp/core_ext.rb, line 68 def inspect if self == :"#=" ':"#="' else inspect_before_nydp end end
Also aliased as: inspect_before_nydp
nydp_type()
click to toggle source
# File lib/nydp/core_ext.rb, line 64 def nydp_type ; :symbol ; end
Private Instance Methods
_nydp_untidy?(s)
click to toggle source
# File lib/nydp/core_ext.rb, line 78 def _nydp_untidy? s (s == "") || (s == nil) || (s =~ /[\s\|,\(\)"]/) end