Method: DataStax.include

Defined in:
lib/datastax/cassandra.rb

.include(path) ⇒ Object



30
31
32
33
# File 'lib/datastax/cassandra.rb', line 30

def self.include(path)
  path = File.expand_path(path + '.rb', @base)
  class_eval(File.read(path), path, 1)
end