diff options
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 | ||