17 Jun '14, 10am

ムヒー / “Class: Chef::Util::FileEdit — Documentation for chef (11.12.4)”

- (Boolean) file_edited? return if file has been edited. - (FileEdit) initialize (filepath) constructor A new instance of FileEdit. - (Object) insert_line_after_match (regex, newline) search the file line by line and match each line with the given regex if matched, insert newline after each matching line. - (Object) insert_line_if_no_match (regex, newline) search the file line by line and match each line with the given regex if not matched, insert newline at the end of the file. - (Object) search_file_delete (regex) search the file line by line and match each line with the given regex if matched, delete the match (all occurances) from the line. - (Object) search_file_delete_line (regex) search the file line by line and match each line with the given regex if matched, delete the line. - (Object) search_file_replace (regex, replace) search the file line by line and match eac...

Full article: http://rubydoc.info/gems/chef/Chef/Util/FileEdit

Tweets

@markrickert @twerth

rubydoc.info 19 Jun '14, 3pm

This class wraps the YAML configuration file that will allow you to override the names used when setting up the database f...

abiquo-chef-agent (2.0.4): Abiquo Chef Agent

rubygems.org 13 Jun '14, 11am

abiquo-chef-agent 2.0.4 Abiquo Chef Agent install gem install abiquo-chef-agent Download Badge Subscribe RSS Authors Salva...

Women's Chef Clog

Women's Chef Clog

payless.com 14 Jun '14, 11pm

Description Care Instructions Customer Service The Chef Clog from safeTstep features a textured upper, round toe, comfort ...

Celebrity Skinny Chef Quentins: Only SGD19.80 O...

coupark.com 17 Jun '14, 8pm

Deal Singapore | Celebrity Skinny Chef Quentins: Only $19.80 Onwards For A La Carte Eurasian Buffet - Indulge In Bestselli...

Features: Rainbow: J Class Yacht in Action: Louay Habib takes a ride on this Rainbow replica at the Antigua C...

Features: Rainbow: J Class Yacht in Action: Lou...

yachtworld.com 15 Jun '14, 10am

The state-of-the-art Hybrid Power and Propulsion system was developed by Dutch power system specialist WhisperPower BV, ma...

Here's our 20-Hour update as Aston Martin conti...

astonmartin.com 15 Jun '14, 9am

- With just four hours of the 24 Hours of Le Mans remaining, Aston Martin Racing is leading the GTE Am class with the #95 ...

My Hennessy X.O Appreciation Grows Johor Bahru experience with Chef Viet Pham from Forage, Utah

My Hennessy X.O Appreciation Grows Johor Bahru ...

rebeccasaw.com 18 Jun '14, 3pm

The cognac’s rigorous preparation, the result of blending a hundred eaux-de-vie with exceptional aromas, has not changed s...