Module: Yamori::BaseMethods::ClassMethods
- Defined in:
- lib/yamori/base_methods.rb
Instance Method Summary collapse
Instance Method Details
#connection ⇒ Object
8 9 10 |
# File 'lib/yamori/base_methods.rb', line 8 def connection @connection end |
#connection=(conn) ⇒ Object
12 13 14 |
# File 'lib/yamori/base_methods.rb', line 12 def connection=(conn) @connection = conn end |
#describe ⇒ Object
16 17 18 |
# File 'lib/yamori/base_methods.rb', line 16 def describe Schema.new(connection.describe(name.to_sym)) end |