From 52344b1b5a11cd50447570d00627436b5211283f Mon Sep 17 00:00:00 2001 From: AJ Hoffer Date: Fri, 21 Feb 2020 16:49:16 -0500 Subject: [PATCH] improvements --- Examples/Program.cs | 2 +- Lorem.NET/Source.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Examples/Program.cs b/Examples/Program.cs index bfad91c..1abf213 100644 --- a/Examples/Program.cs +++ b/Examples/Program.cs @@ -12,7 +12,7 @@ namespace Examples Console.WriteLine(); Console.WriteLine("Change the source..."); - LoremNET.Source.UpdateSource("Alright stop collaborate and listen ice is back with my brand new invention something grabs a hold of me tightly flow like a harpoon daily and nightly will it ever stop yo I don't know turn off the lights and I'll glow"); + LoremNET.Source.Update("Alright stop collaborate and listen ice is back with my brand new invention something grabs a hold of me tightly flow like a harpoon daily and nightly will it ever stop yo I don't know turn off the lights and I'll glow"); Console.WriteLine($"Sentence: {LoremNET.Generate.Sentence(5, 25)}"); diff --git a/Lorem.NET/Source.cs b/Lorem.NET/Source.cs index f62f401..cd399ca 100644 --- a/Lorem.NET/Source.cs +++ b/Lorem.NET/Source.cs @@ -17,7 +17,7 @@ namespace LoremNET return includePuncation ? Rearrange(Text) : Rearrange(Text.Remove(",")); } - public static void UpdateSource(string text) + public static void Update(string text) { Text = text; }