summary refs log tree commit diff stats
path: root/rails/lib
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2022-12-10 09:29:30 -0500
committerStar Rauchenberger <fefferburbia@gmail.com>2022-12-10 09:29:30 -0500
commit0380a97230023a78ad08b738c4520e901485ed63 (patch)
tree2f3b4e91453962fd5bb36cf652c808cb7f41c3a7 /rails/lib
parent6af7b09fa551c6cc980bb54fefd1db88c904654f (diff)
downloadlingo-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.rb6
-rw-r--r--rails/lib/lingo/engine.rb7
-rw-r--r--rails/lib/lingo/version.rb3
-rw-r--r--rails/lib/tasks/lingo_tasks.rake4
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 @@
1require "lingo/version"
2require "lingo/engine"
3
4module Lingo
5 mattr_accessor :secret_code
6end
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 @@
1require 'haml'
2
3module Lingo
4 class Engine < ::Rails::Engine
5 isolate_namespace Lingo
6 end
7end
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 @@
1module Lingo
2 VERSION = "0.1.0"
3end
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