summary refs log tree commit diff stats
path: root/rails/lib
diff options
context:
space:
mode:
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