Skip to content

Commit

Permalink
Removed Question, Questions and ParagraphByChars for now.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrstebo committed Oct 15, 2018
1 parent 863148d commit e62744e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 26 deletions.
8 changes: 0 additions & 8 deletions doc/lorem.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,4 @@ Faker.Lorem.Paragraph(2, true, 4) //=> "Vomito unde uxor annus. Et patior utilis
Faker.Lorem.Paragraphs() //=> ["Dolores quis quia ad quo voluptates. Maxime delectus totam numquam. Necessitatibus vel atque qui dolore.", "Id neque nemo. Dolores iusto facere est ad. Accusamus ipsa dolor ut.", "Et officiis ut hic. Sunt asperiores minus distinctio debitis ipsa dolor. Minima eos deleniti."]
Faker.Lorem.Paragraphs(1) //=> ["Labore voluptas sequi. Ratione nulla eaque quia molestiae fugit. At quam laboriosam aut ut dignissimos."]
Faker.Lorem.Paragraphs(1, true) //=> ["Depulso animi cunctatio amicitia adficio. Vester viduo qui despirmatio voluptas. Validus laudantium adopto ut agnitio venustas. Aer arcus odio esse."]
// Optional arguments: question_count = 3, supplemental = false
Faker.Lorem.Question() //=> "Aliquid culpa aut ipsam unde ullam labore?"
Faker.Lorem.Questions(3) //=> ["Necessitatibus deserunt animi?", "At hic dolores autem consequatur ut?", "Aliquam velit ex adipisci voluptatem placeat?"]
// Optional arguments: chars=3, supplemental=false
Faker.Lorem.ParagraphByChars() //=> "Truffaut stumptown trust fund 8-bit messenger bag portland. Meh kombucha selvage swag biodiesel. Lomo kinfolk jean shorts asymmetrical diy. Wayfarers portland twee stumptown. Wes anderson biodiesel retro 90's pabst. Diy echo 90's mixtape semiotics. Cornho."
Faker.Lorem.ParagraphByChars(256, false) //=> "Hella kogi blog narwhal sartorial selfies mustache schlitz. Bespoke normcore kitsch cred hella fixie. Park aesthetic fixie migas twee. Cliche mustache brunch tumblr fixie godard. Drinking pop-up synth hoodie dreamcatcher typewriter. Kitsch biodiesel green."
```
18 changes: 0 additions & 18 deletions src/FakerDotNet/Fakers/LoremFaker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ public interface ILoremFaker
IEnumerable<string> Sentences(int count = 3, bool supplemental = false);
string Paragraph(int sentences = 3, bool supplemental = false, int randomSentencesToAdd = 3);
IEnumerable<string> Paragraphs(int count = 3, bool supplemental = false);
string Question();
IEnumerable<string> Questions();
string ParagraphByChars();
}

internal class LoremFaker : ILoremFaker
Expand Down Expand Up @@ -88,21 +85,6 @@ public IEnumerable<string> Paragraphs(int count = 3, bool supplemental = false)
: Enumerable.Empty<string>();
}

public string Question()
{
throw new System.NotImplementedException();
}

public IEnumerable<string> Questions()
{
throw new System.NotImplementedException();
}

public string ParagraphByChars()
{
throw new System.NotImplementedException();
}

private static string Capitalize(string text)
{
return Regex.Replace(text, @"^\w", m => m.Value.ToUpperInvariant());
Expand Down

0 comments on commit e62744e

Please sign in to comment.