Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

file 20 lines (15 sloc) 0.509 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
require "rubygems"
require "rspec"
require File.expand_path(File.dirname(__FILE__) + "/../lib/rhino")

puts "Model = #{Rhino::Model.column_families.inspect}"

class Foo < Rhino::Model
  column_family :apple
end

puts "Model2 = #{Rhino::Model.column_families.inspect}"
puts "Foo = #{Foo.column_families.inspect}"

class Bar < Rhino::Model
  column_family :pear
end

puts "Model2 = #{Rhino::Model.column_families.inspect}"
puts "Foo = #{Foo.column_families.inspect}"
puts "Bar = #{Bar.column_families.inspect}"
Something went wrong with that request. Please try again.