Class: Ch

Inherits:
Object
  • Object
show all
Defined in:
lib/opensecret/plugins.io/facts/fact.chars.rb

Overview

– – Dot the I’s and Cross the T’s – DEPRECATED - Use the [Do] class instead. –

Class Method Summary collapse

Class Method Details

.dqObject

– – dq => double quote – Deliver a " (backslash double quote). – Can solve the \\ triple backslash problem. – Use in Ruby and .ini fact files. –



62
63
64
# File 'lib/opensecret/plugins.io/facts/fact.chars.rb', line 62

def self.dq
  return "\""
end

.pObject

– – p => period (full stop) – Deliver a “.” period character –



52
53
54
# File 'lib/opensecret/plugins.io/facts/fact.chars.rb', line 52

def self.p
  return "."
end