Class: Honeycomb::MssqlCommand
- Inherits:
-
Object
- Object
- Honeycomb::MssqlCommand
- Includes:
- DataMapper::Resource, Honeycomb::Model::FixtureTable
- Defined in:
- lib/honeycomb/model/mssql_commands.rb
Class Method Summary collapse
Methods included from Honeycomb::Model::FixtureTable
Class Method Details
.all_databases(dir = Pathname.new(__FILE__).dirname.dirname.dirname.dirname.expand_path.join('data').join('logsql/').to_s) ⇒ Object
25 26 27 28 29 |
# File 'lib/honeycomb/model/mssql_commands.rb', line 25 def self.all_databases(dir = Pathname.new(__FILE__).dirname.dirname.dirname.dirname..join('data').join('logsql/').to_s) ret = Dir.entries(dir) ret.delete_if {|x| x =~ /^\./} ret end |