Class: Ch
- Inherits:
-
Object
- Object
- Ch
- 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
-
.dq ⇒ Object
– – dq => double quote – Deliver a " (backslash double quote).
-
.p ⇒ Object
– – p => period (full stop) – Deliver a “.” period character –.
Class Method Details
.dq ⇒ Object
– – 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 |
.p ⇒ Object
– – 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 |