diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2022-12-10 09:29:30 -0500 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2022-12-10 09:29:30 -0500 |
commit | 0380a97230023a78ad08b738c4520e901485ed63 (patch) | |
tree | 2f3b4e91453962fd5bb36cf652c808cb7f41c3a7 /rails/lib | |
parent | 6af7b09fa551c6cc980bb54fefd1db88c904654f (diff) | |
download | lingo-0380a97230023a78ad08b738c4520e901485ed63.tar.gz lingo-0380a97230023a78ad08b738c4520e901485ed63.tar.bz2 lingo-0380a97230023a78ad08b738c4520e901485ed63.zip |
Added Rails engine for scoreboard
refs #13
Diffstat (limited to 'rails/lib')
-rw-r--r-- | rails/lib/lingo.rb | 6 | ||||
-rw-r--r-- | rails/lib/lingo/engine.rb | 7 | ||||
-rw-r--r-- | rails/lib/lingo/version.rb | 3 | ||||
-rw-r--r-- | rails/lib/tasks/lingo_tasks.rake | 4 |
4 files changed, 20 insertions, 0 deletions
diff --git a/rails/lib/lingo.rb b/rails/lib/lingo.rb new file mode 100644 index 0000000..fda548f --- /dev/null +++ b/rails/lib/lingo.rb | |||
@@ -0,0 +1,6 @@ | |||
1 | require "lingo/version" | ||
2 | require "lingo/engine" | ||
3 | |||
4 | module Lingo | ||
5 | mattr_accessor :secret_code | ||
6 | end | ||
diff --git a/rails/lib/lingo/engine.rb b/rails/lib/lingo/engine.rb new file mode 100644 index 0000000..4275614 --- /dev/null +++ b/rails/lib/lingo/engine.rb | |||
@@ -0,0 +1,7 @@ | |||
1 | require 'haml' | ||
2 | |||
3 | module Lingo | ||
4 | class Engine < ::Rails::Engine | ||
5 | isolate_namespace Lingo | ||
6 | end | ||
7 | end | ||
diff --git a/rails/lib/lingo/version.rb b/rails/lib/lingo/version.rb new file mode 100644 index 0000000..4ae1a3e --- /dev/null +++ b/rails/lib/lingo/version.rb | |||
@@ -0,0 +1,3 @@ | |||
1 | module Lingo | ||
2 | VERSION = "0.1.0" | ||
3 | end | ||
diff --git a/rails/lib/tasks/lingo_tasks.rake b/rails/lib/tasks/lingo_tasks.rake new file mode 100644 index 0000000..e9e78d0 --- /dev/null +++ b/rails/lib/tasks/lingo_tasks.rake | |||
@@ -0,0 +1,4 @@ | |||
1 | # desc "Explaining what the task does" | ||
2 | # task :lingo do | ||
3 | # # Task goes here | ||
4 | # end | ||