diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/guff.cr | 7 | ||||
-rw-r--r-- | src/guff/models/model.cr | 4 |
2 files changed, 5 insertions, 6 deletions
diff --git a/src/guff.cr b/src/guff.cr index c7e3216..e5eca75 100644 --- a/src/guff.cr +++ b/src/guff.cr @@ -9,7 +9,7 @@ module Guff VERSION = "0.1.0" end -require "./guff/*" +require "./guff/**" private macro define_lazy_getters(hash) {% for name, klass in hash %} @@ -47,11 +47,6 @@ end module Guff module Models - abstract class Model - def initialize(@context : Context) - end - end - class PostModel < Model SQL = { add: " diff --git a/src/guff/models/model.cr b/src/guff/models/model.cr new file mode 100644 index 0000000..8d7adef --- /dev/null +++ b/src/guff/models/model.cr @@ -0,0 +1,4 @@ +abstract class Guff::Models::Model + def initialize(@context : Context) + end +end |