Module: Gasoline::Texts

Defined in:
lib/gasoline/texts.rb

Class Method Summary collapse

Class Method Details

.cut_here_lineObject



4
5
6
# File 'lib/gasoline/texts.rb', line 4

def cut_here_line
  "_.:Gasoline Snippet:._"
end

.cut_here_snippetObject



8
9
10
11
12
13
14
15
16
# File 'lib/gasoline/texts.rb', line 8

def cut_here_snippet
  <<SNIPPET
//#{cut_here_line}
//
// Anything below this line will be replaced by the gasoline gem.
//

SNIPPET
end

.propane_headerObject



18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# File 'lib/gasoline/texts.rb', line 18

def propane_header
  <<HEADER
/*
 As of version 1.1.2, Propane will load and execute the contents of
 ~Library/Application Support/Propane/unsupported/caveatPatchor.js
 immediately following the execution of its own enhancer.js file.

 You can use this mechanism to add your own customizations to Campfire
 in Propane.

 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 THE SOFTWARE.
 */

HEADER
end